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

Make module functional with SS4 #77

Closed kinglozzer closed 5 years ago

kinglozzer commented 5 years ago

On a project that’s short on time, so this is only the bare minimum functionality...

What’s working:

What’s not working (I assume, because I’ve not tested at all)

Lots of JavaScript that this module relied on (e.g. “dialog” stuff, htmleditorfield helpers) have been removed for SS4, so I literally copied and pasted a few chunks from SS3. Ideally this would be re-built as a React UI or something, but I’m not volunteering for that task 😉