Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Detect selected text Re: Detect selected text

#77718
Capt Otis
Member

Replace the javascript from the last post…

Code:

And add this button…

Code:

That stops the button spamming, and will remove any tags at all in the area you set (not just the .selected class…) It is a quick fix, I can’t think of a quick way to erase specific highlights.