Open faloude opened 8 years ago
@faloude I'm currently using it with the latest SS 3.4.x-dev install (framework: 4c7ba73, cms: 147181e) without any problems. Could you give me some more details? Are you mixing&matching HtmlEditorField/CustomHtmlEditorField and/or $db-field HTMLText/CustomHTMLText.
You need to use "Custom*", otherwise it'll break.
class MyObject extends DataObject {
private static $db = array(
'CustomContent' => 'CustomHTMLText'
);
public function getCMSFields() {
$fields = new FieldList(new TabSet('Root'));
$fields->addFieldToTab('Root.Main', $contentField = CustomHTMLEditorField::create('CustomContent', 'Content')->setRows(10));
return $fields;
}`
The field label "Content" is there, but the tinymce block is missing completely
Also, permission on tiny_mce_gzip.php is set to 644. Tried 777 just to be sure, no effect.
Same issue here.
Using 3.4.1 within an XAMPP install.
The Custom Content text shows up, but no TinyMCE4 Editor. Interestingly, the content block doesn't show either. I tried to remove the content block and only add the CustomHTMLEditorField, but this failed too.
The module doesn't seem to work on 3.4 (3.4.1 to be specific).