Hello,
Using StaticPages plugin here. I know that Froala has the option to register custom commands.
For example, I managed to allow inline SVG from the backend settings (and various other HTML elements).
I would like to make it easier for clients to insert some predefined HTML, like a “ul” or an “a” with a specific css class. I know that Froala supports this feature, as it shows here https://froala.com/wysiwyg-editor/examples/insert-html/.
The question: is if there is a proper way to customise the editor for the entire project? These custom buttons should be available in every richeditor if possible.
Nevermind, I was searching with the wrong keywords.
I found this: https://talk.octobercms.com/t/registered-the-custom-button-in-javascript/1628
And in the docs
1 Like