SilverSmith icon indicating copy to clipboard operation
SilverSmith copied to clipboard

HTMLEditorField does not provide: 'FieldName' => 'HTMLText',

Open MischaKr opened this issue 11 years ago • 0 comments

in yml: ExtraContent: {CMSField: HTMLEditorField}

Produces: $fields->addFieldToTab("Root.Main", new HTMLEditorField('ExtraContent', _t('EventPage.EXTRACONTENT', 'Extra Content')), 'Content');

But not the: static $db = array ( 'ExtraContent' => 'HTMLText', );


Workaround: Using type: Wysiwyg

Like: ExtraContent: {CMSField: Wysiwyg}

MischaKr avatar Apr 07 '14 22:04 MischaKr