Opened 15 years ago

Closed 15 years ago

#2773 closed Bug (invalid)

Need Help with ProtectedSource or ProtectedTags

Reported by: highoctane Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: joshglenn1@…

Description

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.

Change History (1)

comment:1 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: ProtectedSource ProtectedTags removed
Resolution: invalid
Status: newclosed

Please use our forums for support and discussions.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy