[wp-trac] [WordPress Trac] #41779: TinyMCE plugins included with WordPress aren't loaded when using wp_enqueue_editor();

WordPress Trac noreply at wordpress.org
Sun Sep 3 09:01:34 UTC 2017


#41779: TinyMCE plugins included with WordPress aren't loaded when using
wp_enqueue_editor();
--------------------------+------------------------------
 Reporter:  Swennet       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.8.1
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by azaozz):

 * keywords:   => close


Comment:

 Hmm, that's not the case?
 https://core.trac.wordpress.org/browser/tags/4.8/src/wp-includes/class-wp-
 editor.php#L814. All TinyMCE plugins that are included in WordPress are
 loaded except `media`, `wpdialog` (these are mostly redundant/deprecated),
 and `wpview` that needs special treatment to make it work.

 Of course you're also free to add or remove plugins (or change any other
 setting) using the `'wp-before-tinymce-init'` event:
 https://core.trac.wordpress.org/browser/tags/4.8/src/wp-
 admin/js/editor.js#L601.

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


More information about the wp-trac mailing list