Knowledgebase: Customizing
How can I customize HtmlArea toolbar (enable/disable certain options like links adding, tables inserting, etc) ?
Posted by - NA - on 23 February 2006 11:49 AM
For HtmlArea you have to edit editor.js file - "this.toolbar" section - comment out unnecessary toolbar items (like Createlink, InsertImage, etc) and leave only the items you need.

Example where 'InsertImage' is commented out :
['HorizontalRule','Createlink',/*'InsertImage',*/'InsertTable','htmlmode','separator']

1/ If you have Esvon Classifieds 4.0 or earlier version installed :
img/htmlarea/editor.js

2/ If you have Esvon Classifieds 4.0.1+ version installed :
html_editor/htmlarea2/editor.js

Also don't forget to add/remove corresponding HTML tags in "tpl/allowed_html.txt" file.

Since Esvon Classifieds 4.0.1 additional HTML Editors can be integrated which have their own toolbar config. files, i.e. :
FCK Editor - "html_editor/fckeditor/myconfig.js"

Comments (0)
Help Desk Software by Kayako Fusion