Selection of tags problem
Hi, hope someone can help with this. I know a little JS, but not all that much.
I can select text in a textarea, but if tags are present a problem occurs.
I can select these fine
But if I select anything with tags this happens
Is there a very simple bit of code which will overcome this for the entire textarea?
At the top of the code is a variable, used throughout the code with conditions. I assume this "enables" the textarea.
Perhaps it needs something?
But that didn't work.
Does this editor have a name?
I suspect that a proper fix will require modification of either a rather complicated RegExp, or of a similarly complicated tokeniser, so I doubt that will be relevant.
After searching around I found out it is an IE problem. Doesn't happen in Chrome.
So it looks like I'll have to leave it as is. Because, as you say, this could get quite complicated and lengthy, increasing the size of the editor code (Balakrishnan's little one) to larger than I want.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)