In the Voyager project they allow you to modify TinyMCE though a callback function:
function tinymce_init_callback(editor)
{
//...
}
The methods of the editor are listed here.
I know that one usually list the plugins on init:
tinymce.init({
plugins: [
'image textcolor'
],
But is it possible to add a plugin like image
with the editor object after the initialization? I couldn't find such a function in the docs.
There was actually a merge request in 2020 which fixed this issue:
https://github.com/the-control-group/voyager/pull/4727
Now one can specify the plugins in the bread view like this:
{
"tinymceOptions" : {
"plugins": "image textcolor"
}
}
See docs: https://voyager-docs.devdojo.com/bread/introduction-1/tinymce