[wp-trac] [WordPress Trac] #26295: wp_editor() from inside javascript

WordPress Trac noreply at wordpress.org
Wed Nov 27 23:13:39 UTC 2013


#26295: wp_editor() from inside javascript
-------------------------+----------------------
 Reporter:  josh401      |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  TinyMCE      |     Version:  3.7.1
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  close        |
-------------------------+----------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 `wp_editor()` outputs quite a bit of HTML, including a <link
 rel='stylesheet'>. It also enqueues a lot of JS and outputs more HTML at
 the bottom of the page.

 Not sure it's a good idea to load it inside JS. Better output it in a
 hidden div and move it before TinyMCE is initialized.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26295#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list