Search code examples
tinymcetinymce-5

How can I update the color_map of a tinymce editor


How can I update the color_map of a tinymce editor after it has been initialized ?

I cannot find a method for this purpose in the API documentation.

thank you.


Solution

  • When the editor is initialized that value is read from the configuration - there is currently no API or other means to modify the color map once it has been loaded. You can submit a feature request in the TinyMCE issue tracker:

    https://github.com/tinymce/tinymce/issues/new/choose