TinyMCE4 in WordPress 3.9 has some cool changes, but it seems to have only one “theme” included.
Is there any way to make a sub-theme of the theme defined by CSS, and theme.js
in wp-includes/js/tinymce/themes/modern
? Or a way to dequeue and enqueue a custom theme from somewhere else? Where can I find these MCE4 themes, if it’s a common pluggable option?
I’m also really curious what the tinymce.ThemeManager.get('modern')
is meant for, since it only gives you the function(editor) {... }
containing private variables and functions from theme.js
, but gives you no way to “monkey patch” the reposition or add-toolbar functions, etc. that are within that function.