All,
I would assume this might be common text considering we're mostly developers here and in many of our documents you would have used text within <, and > tags for various reasons. When i try to any text using the fckeditor in these tags e.g <stand>, I put an alert before saving as well as check the saved text in the database which shows as
<p><stand></p>
However when i reopen the JSP page expecting the text, i get nothing and instead the text is interpreted as HTML source <stand></stand>. Another example is <The quick brown fox jumped over the lazy black dog> becomes
<the="" quick="" brown="".......>. Has this always been a problem or is there something I might be doing wrong.
Also, I have one additional question:
1) I read in the document that currently the auto pasting of word is supported only for IE and not FF. My question is, is there a way to display a pop up or display some message when a user presses Ctrl+V in FF, so as to let them know to use the pasteWord button available instead of immediately pasting the text. This question is not scoped to fckeditor but rather in general javascript.
I would assume this might be common text considering we're mostly developers here and in many of our documents you would have used text within <, and > tags for various reasons. When i try to any text using the fckeditor in these tags e.g <stand>, I put an alert before saving as well as check the saved text in the database which shows as
<p><stand></p>
However when i reopen the JSP page expecting the text, i get nothing and instead the text is interpreted as HTML source <stand></stand>. Another example is <The quick brown fox jumped over the lazy black dog> becomes
<the="" quick="" brown="".......>. Has this always been a problem or is there something I might be doing wrong.
Also, I have one additional question:
1) I read in the document that currently the auto pasting of word is supported only for IE and not FF. My question is, is there a way to display a pop up or display some message when a user presses Ctrl+V in FF, so as to let them know to use the pasteWord button available instead of immediately pasting the text. This question is not scoped to fckeditor but rather in general javascript.
RE: Problem with text in <> tags
You might try commenting those tags <!--<tag>//--> on the server, and stripping the comments when you save the docs. I use this method along with the protected source method in fckconfig.js for custom tags... although my custom tags are a bit easier to detect using a regexp. You might also consider changing your custom tags to something along the lines of PHP's <? ?> or ASP's <% %> since regexp's for those are already found within the code.