One challenge I encountered was integrating the textcolor plugin into tinyMCE. Although I managed to make it functional, I faced an issue with the toolbar configuration. I couldn't grasp how to include the plugin buttons without replacing the existing toolbar.
Initiation Code
//TinyMCE Test
tinymce.init({
selector: '.editor',
branding: false,
height : "200",
plugins: "textcolor",
toolbar: "forecolor backcolor"
});
The culprit seems to be this line of code toolbar: "forecolor backcolor"
, but I'm unsure how to append instead of replace. I explored the documentation without success.
Before Adding Plugin https://i.sstatic.net/FaTCh.png
After Adding Plugin https://i.sstatic.net/9XYoF.png