Shouldn't your second line be:

CKEDITOR.replace( '<cfoutput>#content.englishText#</cfoutput>', {

Dave Phillips

-----Original Message-----
From: Torrent Girl [mailto:moniqueb...@gmail.com] 
Sent: Wednesday, January 11, 2012 1:38 PM
To: cf-talk
Subject: Re: anyone using ckeditor? I will PAY you for your help!


Thank you. But once again, the proper syntax is not included.

I added the following and it doesn't work. I'm sure I have the wrong context tho

 <script type=\"text/javascript\">
       CKEDITOR.replace( '#content.englishText#', {
          on : {
             instanceReady : function( ev ) {
                this.dataProcessor.writer.setRules( 'cfoutput', {
                      indent : false,
                      breakBeforeOpen : false,
                      breakAfterOpen : false,
                      breakBeforeClose : false,
                      breakAfterClose : true
                   });
             }
          },
          customConfig : '../ckeditor/ckeditor/ckeditor.js',
       });
    </script>

<cfoutput><textarea class="ckeditor" 
name="editor1">#content.englishText#</textarea></cfoutput>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:349417
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to