Hi,
I want to have a chunk or two of source inside the editor that the user cannot actually edit.
For example:
<locked>haha! you can't edit this!</locked> but you can this.
I thought adding this to fckconfig.js would do it:
ProtectedSourceFCKConfig.ProtectedSource.Add( /<locked[\s\S]*?\/locked>/gi ) ;
But it had no effect. Is there a way to do this?
I want to have a chunk or two of source inside the editor that the user cannot actually edit.
For example:
<locked>haha! you can't edit this!</locked> but you can this.
I thought adding this to fckconfig.js would do it:
ProtectedSourceFCKConfig.ProtectedSource.Add( /<locked[\s\S]*?\/locked>/gi ) ;
But it had no effect. Is there a way to do this?
RE: ProtectedSource