Opened 9 years ago
Closed 7 years ago
#41779 closed defect (bug) (invalid)
TinyMCE plugins included with WordPress aren't loaded when using wp_enqueue_editor();
| Reported by: | Swennet | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Editor | Version: | 4.8.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Using the WP_Editor API as described on the following page does not load any of the WordPress specific TinyMCE plugins like it's supposed to do in the back-end.
https://make.wordpress.org/core/2017/05/20/editor-api-changes-in-4-8/
This seems like an oversight to me.
Change History (2)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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), andwpviewthat 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.