[jQuery] Custom rich text editor with some protected contents
Hi,
First, please let me describe my project:
I need to implement a simple rich text editor (only one paragraph with
no carriage return and underlined, superscript subscript period).
For that I could borrow some idea from
http://batiste.dosimple.ch/blog/posts/2007-09-11-1/rich-text-editor-jquery.html
or http://avidansoft.com/dsrte/dsrte.php
But the most difficult part is that I need to protect some contents
from deletion (img and some specific empty xml/non-xhtml tags with
attributes).
As a plus, I would also like to be able to drag and drop those
protected elements to change their position within the text.
Then my questions:
Is it possible to do that with JQuery (at least the tag protection) ?
Could you please give me some idea or pointer ?
Regards,
Olivier.