Jump to:

22997 Posts in 11844 Topics by 2828 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: 1051 Views
  • lise
    Avatar
    Community Member
    47 Posts

    TinyMCE/WYSIWYG for a ComplexTableField element Link to this post

    Hello,

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

  • banal
    Avatar
    Community Member
    901 Posts

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

    This might help you:
    http://silverstripe.org/customising-the-cms/show/274582?start=0#post274601

    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.

    1051 Views
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.