• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to pass var to FCKeditor

New Here ,
May 23, 2008 May 23, 2008

Copy link to clipboard

Copied

I'm calling FCKeditor using cftextarea and I need to pass a Coldfusion var to the fckconfig.js file. Any ideas / help would be greatly appreciated! Thanks!
TOPICS
Advanced techniques

Views

192

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 23, 2008 May 23, 2008

Copy link to clipboard

Copied

LATEST
Depends on what you need to do exactly but FCKEditor has support for passing configuration settings into the editor, like this:

<cfset config = StructNew()>
<cfset config.ImageBrowserURL = "my_custom_URL">

<cfmodule template="customtags/fckeditor/fckeditor.cfm"
instanceName="MyField"
height="500"
config="#config#"
Value="#PreviousText#"
/>

You can set configuration variables in a similar manner if you are calling it as a component, the cfm examples included in the download show that method as well.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation