Will... CKEditor is the new name/new design for FCKeditor.

Terry, I'm using CKEditor in one of my apps. On the whole, I like it a LOT
better than the original. It was pretty easy to integrate for me, because I
use a function call to create text areas in my app, so I just modified the
function and it replaced everywhere in the app.

 <CFFUNCTION NAME="dsp_RichText" OUTPUT="TRUE" ACCESS="PUBLIC"
DESCRIPTION="INVOKES CKEDITOR">
            <CFARGUMENT NAME="NAME" REQUIRED="YES">
            <CFARGUMENT NAME="CONTENT" REQUIRED="NO" DEFAULT="">

        <textarea name="#NAME#" cols="40" rows="8">#content#</textarea>
        <script type="text/javascript">
        <cfoutput>
        CKEDITOR.replace( '#name#',
            {
                filebrowserBrowseUrl :
'/modules/cffm/cffm.cfm?editorType=cke&EDITOR_RESOURCE_TYPE=file',
                filebrowserImageBrowseUrl :
'/modules/cffm/cffm.cfm?editorType=cke&EDITOR_RESOURCE_TYPE=image',
                filebrowserFlashBrowseUrl :
'/modules/cffm/cffm.cfm?editorType=cke&EDITOR_RESOURCE_TYPE=flash',
                filebrowserUploadUrl :
'/modules/cffm/cffm.cfm?action=QuickUpload&editorType=cke&EDITOR_RESOURCE_TYPE=file',
                filebrowserImageUploadUrl :
'/modules/cffm/cffm.cfm?action=QuickUpload&editorType=cke&EDITOR_RESOURCE_TYPE=image',
                filebrowserFlashUploadUrl :
'/modules/cffm/cffm.cfm?action=QuickUpload&editorType=cke&EDITOR_RESOURCE_TYPE=flash'
            }
        );
       CKEDITOR.replace('#name#');
        </cfoutput>
        </script>
        </CFFUNCTION>

On Wed, Nov 11, 2009 at 7:21 AM, Will Swain <[email protected]> wrote:

>
> Assuming you mean FCKEditor, it's right there - cftextarea richtext="true"
> gives you a FCKEditor textarea. You can mess about with it. Check the
> livedocs and go from there.
>
> HTH
>
> Will
>
> -----Original Message-----
> From: Terry Troxel [mailto:[email protected]]
> Sent: 11 November 2009 11:37
> To: cf-talk
> Subject: CKEditor
>
>
> Has anyone used this in CF8. I can't find any documentation for Integration
> to Coldfusion.
>
> Terry Troxel
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328251
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to