Ticket #2773 (closed Bug: invalid)

Opened 6 years ago

Last modified 6 years ago

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

comment:1 Changed 6 years ago by fredck

  • Status changed from new to closed
  • Keywords ProtectedSource ProtectedTags removed
  • Resolution set to invalid

Please use our forums for support and discussions.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy