nathancox / silverstripe-customhtmleditorfield

A couple of hacks to allow per-editor content styles and TinyMCE configurations in SilverStripe 3
16 stars 8 forks source link

Stops editor.css loading in 3.3.3 #19

Closed purplespider closed 7 years ago

purplespider commented 7 years ago

Just adding this module seems to stop the theme's editor.css file from being loaded in any HTMLEditorField, (SilverStripe 3.3.3).

Removing the CustomHTMLEditorLeftAndMainExtension seems to resolve it, but that's as far as I've been able to get.

purplespider commented 7 years ago

I have since reproduced this on a fresh SilverStripe 3.5.3 install too.

And narrowed it down to CustomHTMLEditorField.js which is required on line 10 of CustomHTMLEditorLeftAndMainExtension.

nathancox commented 7 years ago

Yeah I'm just having a look at it now and it seems SS changed the way TinyMCE configs work. I'm going to do some rejiggering, will update when I have it working again.

nathancox commented 7 years ago

I've just done a 1.1.0 release which seems to be working in SS3.3+ now.

purplespider commented 7 years ago

Works a treat! Thank you so much for fixing this so quickly Nathan, on a weekend as well!