Link to home
Start Free TrialLog in
Avatar of ImWorkingOnItNow
ImWorkingOnItNow

asked on

cftextarea custom toolbar

I am using a cftextarea - which I understand to be an integration of FCKeditor.  Is that still the case with CF9?  If so, is there a way to exclude certain options in the "Default" toolbar, as there is in FCKeditor?  The default offers the ability to include a form.  The people who will be using this app would beeline for that and promptly screw everything up. Then they would call me at all hours and drive me insane.  So, please take pity on me!  

Thanks Experts!

 
<cftextarea name="testDescription" enabled="no" visible="no" bindonload="no" toolbaronfocus="no" richtext="yes" toolbar="Basic" ></cftextarea>

Open in new window

Avatar of _agx_
_agx_
Flag of United States of America image

The CF and CKEditor docs say you can control the options by modifying fckconfig.js.

1) Open C:\ColdFusion9\wwwroot\CFIDE\scripts\ajax\FCKeditor\fckconfig.js and
find the definition for the "Default" toolbar
ie FCKConfig.ToolbarSets["Default"] = [

Open in new window


2) Then remove the "Form" button  ie change this
['Form','Checkbox','Radio', .... ]

Open in new window

... to
['Checkbox','Radio',....]

Open in new window

would beeline for that and promptly screw everything up. Then they would call me at all hours and drive me insane.  

ROFL! Must "user-proof" the toolbar ;)
Avatar of ImWorkingOnItNow
ImWorkingOnItNow

ASKER

:)

Would that be possible in a shared hosting environment?  Would it even be worth it to ask?
Would it even be worth it to ask?

Almost certainly not ;)

Let me see if there's a way to do it on the fly.
ASKER CERTIFIED SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm not sure what the ranking levels are here, but if Genius is the highest, then there should be a Friggin' Genius, and you should be it.  

_agx_, THIS IS AMAZING!  

Thank you.
Thanks, I'm really glad I could help :)