#2773: Need Help with ProtectedSource or ProtectedTags
-------------------------------------------+--------------------------------
Reporter: highoctane | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version:
Keywords: ProtectedSource ProtectedTags |
-------------------------------------------+--------------------------------
I have implemented FCKEditor on a page, and there is a tag I need to
"protect". For instance I have this code:
{{{
<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.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2773>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac