Jump to:

23550 Posts in 19336 Topics by 2890 members

General Questions

SilverStripe Forums » General Questions » TinyMCE/WYSIWYG for a ComplexTableField element

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

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

Page: 1
Go to End
Author Topic: 1113 Views
  • lise
    Community Member
    47 Posts

    TinyMCE/WYSIWYG for a ComplexTableField element Link to this post


    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 ?

  • banal
    Community Member
    901 Posts

    Re: TinyMCE/WYSIWYG for a ComplexTableField element Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.