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.

Archive /

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

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

Custom Components and TinyMCE

Go to End



Community Member, 59 Posts

3 November 2008 at 1:40pm

Edited: 03/11/2008 1:41pm

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???