[wp-trac] [WordPress Trac] #24067: TinyMCE 4.0

WordPress Trac noreply at wordpress.org
Tue Mar 25 02:00:07 UTC 2014


#24067: TinyMCE 4.0
----------------------------+---------------------
 Reporter:  josh401         |       Owner:  azaozz
     Type:  task (blessed)  |      Status:  closed
 Priority:  high            |   Milestone:  3.9
Component:  TinyMCE         |     Version:  3.8
 Severity:  minor           |  Resolution:  fixed
 Keywords:                  |     Focuses:
----------------------------+---------------------

Comment (by johnstonphilip):

 @azaozz @programmin

 My apologies for posting on a closed topic - however it seems most
 appropriate because this problem was mentioned here.

 I am having the same issue @programmin mentioned above where a custom
 tinymce plugin hooked to 'mce_external_plugins' is not being loaded (in
 3.8.2 it worked fine but does not in 3.9-beta2).

 I noticed @azaozz mentioned that TinyMCE 4 requires a new way of loading
 external plugins and mentioned this (which I do not understand):

 external_plugins: { 'plugin-name': 'url-to-the-plugin-file' }

 Any clarification or guidance on how to properly load an external plugin
 now would be appreciated. I feel like this change will need to be clearly
 outlined if it is going to break all previously-working custom tinyMCE
 plugins.

 Sidenote: Interestingly, it loads my custom external plugin if I set the
 $plugins var to be NULL by either:

 a) returning NULL to the tiny_mce_plugins filter
 b) set the $plugins var (line 342 of class-wp-editor.php) to be NULL

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24067#comment:142>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list