I have implemented FCKEditor on a page, and there is a tag I need to "protect". For instance I have this code:
After switching out of Source view to Design View and Back again, I get this code:
I would like to know how to keep this from happening. I don't know how to write the regular expression for the ProtectedSource.Add function and ProtectedTags is not working when I set it up like this:
Any help is much appreciated.
<zone error writeLock> <p style="color:red"><strong>This template is write protected. You won't be able to save your changes.</strong></p> </zone error writeLock>
After switching out of Source view to Design View and Back again, I get this code:
<p><zone writelock="" error=""> <p style="color: red;"><strong>This template is write protected. You won't be able to save your changes.</strong></p> </zone></p>
I would like to know how to keep this from happening. I don't know how to write the regular expression for the ProtectedSource.Add function and ProtectedTags is not working when I set it up like this:
FCKConfig.ProtectedTags = 'ZONE' ;
Any help is much appreciated.
Re: How Do I Keep FCKEditor from Chaning My Code Within Certain
I am trying to protect a regular expression from being html encoded.
Re: How Do I Keep FCKEditor from Chaning My Code Within Certain