Ok so I added the protected.source code and that worked! (???) I had that 
before and it didn't work. Maybe I had it on the wrong config file. There are 
two.

config.protectedSource.push( /<\?[\s\S]*?\?>/g ); 
        config.protectedSource.push(/[^<]*(<h1>([^<]+)<\/h1>)/g);
        config.protectedSource.push( /<cfinclude[\s\S]*?\/cfinclude>/g);
        config.protectedSource.push( /<cfscript[\s\S]*?\/cfscript>/g ); 
        config.protectedSource.push( /<br[\s\S]*?\/>/g );   // BR Tags
        config.protectedSource.push( /<img[\s\S]*?\/>/g );   // IMG Tags
        config.protectedSource.push( /{exp:[\s\S]*?{\/exp:[^\}]+}/g );    // 
Expression Engine style server side code 
        config.protectedSource.push( /{.*?}/g);
        config.protectedSource.push( /<tex[\s\S]*?\/tex>/g);
        config.protectedSource.push( /<object[\s|\S]+?<\/object>/g); // 
Protects <OBJECT> tags 
        config.protectedSource.push( /<style[\s\S]*?\/style>/g); // Protects 
<STYLE> tags
        config.protectedSource.push( /<cfoutput[\s\S]*?\/cfoutput>/g); // 
Protects <CFOUTPUT> tags
        config.protectedSource.push( /<pre[\s\S]*?\/pre>/g);
        config.protectedSource.push( /<code[\s\S]*?\/code>/g);
        config.protectedSource.push( /<cfinclude[\s\S]*?\/cfinclude>/g);
        config.protectedSource.push( /<cfloop[\s\S]*?\/cfloop>/g)       



> Hi All I have had a year long headache with ckeditor and it changing 
> my CF code.
> 
> I got around the issue for a while by using a straight text area to 
> enter code in the DB.
> 
> Now other users will be using the system and I need to get the text 
> editor to work.
> 
> I STILL have not been able to figure out how to stop this thing from 
> editing my CF code and I am beyond frustrated with it.
> 
> I tried installing tinyMCE (sp?) and it did the same thing.
> 
> Has anyone installed and used ckeditor properly with Coldfusion to 
> where it is keeping your CF code in tact?
> 
> I will pay for your help (that is how desperate I am)
> 
> Thank you! 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349432
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to