[wp-trac] [WordPress Trac] #33421: wp_editor with custom editor_id not working

WordPress Trac noreply at wordpress.org
Sat Apr 30 10:08:21 UTC 2016


#33421: wp_editor with custom editor_id not working
-------------------------------+-----------------------------------------
 Reporter:  abadahenno         |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  TinyMCE            |     Version:  4.2.4
 Severity:  normal             |  Resolution:  worksforme
 Keywords:  reporter-feedback  |     Focuses:  javascript, administration
-------------------------------+-----------------------------------------
Changes (by LewisCowles):

 * status:  reopened => closed
 * resolution:   => worksforme


Comment:

 Hi,

 A Bit confused. How would one set about custom calling wp_editor in a
 stock theme with *all* plugins disabled?

 The editor works when used as-is included for posts and pages. Neither the
 original ticket or this addendum are about built-in post or page editing.

 For some plugins using wp_editor is considered necessary to make a screen
 flow better. In my case with additional content after the title.

 The process is simple; I've turned off the built in editor through post
 type capabilities, and created a new editor, with the code posted above,
 which from November to the release of 4.5 worked, it was exactly what I
 expected and what the codex described behaviour to be.

 I Know the editor works if I use the standard post content, but as
 advertised on the codex the wp_editor function should allow me to create a
 tinymce fed from any source (I just happen to have used the post content).

 Strangely enough turning off jetpack, then re-enabling has made the code
 work again, so I'll close, but it does seem strange that an automattic
 authored plugin would break other plugins.

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


More information about the wp-trac mailing list