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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

TinyMCE/WYSIWYG for a ComplexTableField element

Go to End

2 Posts   1381 Views


Community Member, 47 Posts

8 December 2009 at 9:48pm


I have defined a ComplexTableField object (called 'Post') which users can create/update through CMS.
One field of this table has been defined as an HTMLEditorField.

I would like to be able to edit this field with TinyMCE instead of the "plain" text box I get . Yes can enter html mark-ups but
I would like my users to have a more friendly interface , like the WYSIWYG editor used in CMS when a field is defined as HTMLText.

Is it possible have "HTMLEditorField" handled exactly as HTMLText ? Is there a configuration parameter ?


Community Member, 904 Posts

8 December 2009 at 10:36pm

This might help you:

The easiest way would probably be if you replaced the CTF with the DataObjectManager. The DataObjectManager is based on the ComplexTableField, so you should be able to use the same constructor syntax.