Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Custom Components and TinyMCE




3 November 2008 at 1:40pm (Last edited: 3 November 2008 1:41pm), Community Member, 56 Posts

Hi All,

I've written a custom CMS component, but can't get HTMLEditorFields to display. They currently only display the label and a line where the box should be.

My controller has extended LeftAndMain

I added <% include Editor_toolbar %> at the top of the right template and the toolbar displays.

I copied the Javascript from CMSMain::init(), and tried it without but no difference.

If I inspect the element using FireBug, removing the htmleditor class from the textarea makes it appear, but it only works as a regular text area.

Are there any tutorials/recipes/advice on adding this functionality to custom components???