sheadawson / silverstripe-shortcodable

Provides a GUI for CMS users to insert Shortcodes into the HTMLEditorField + an API for developers to define Shortcodable DataObjects and Views.
MIT License
48 stars 36 forks source link

Workaround until TinyMCE placeholders are fixed #79

Closed kinglozzer closed 5 years ago

kinglozzer commented 5 years ago

This prevents occasional CMS-breaking errors:

Cannot read property 'replaceShortcodesWithPlaceholders' of undefined

Given that placeholders don’t work at all at the moment, it doesn’t come at the cost of any functionality. I think the way the plugin is bound to TinyMCE needs updating, I just don’t have the time/knowledge 😅