Home › Forums › JavaScript › Detect selected text › Re: Detect selected text
June 22, 2010 at 11:28 am
#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.