Search code examples
javascripttinymcetinymce-4

tinymce - update plugin property after editor initialization


I need to update the colors list after init (or even on init), the plugins is textcolor. I'm using tinyMCE 4.1.9. How can I do that?


Solution

  • maybe in tinymce settings

    tinymce.init({
      textcolor_map:  ["000000", "Black"]
    });