[wp-trac] [WordPress Trac] #26881: Multiple wp_editor() on one page and link button broken

WordPress Trac noreply at wordpress.org
Mon Jan 20 20:54:47 UTC 2014


#26881: Multiple wp_editor() on one page and link button broken
--------------------------+------------------------------
 Reporter:  machinedean   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  3.8
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by azaozz):

 Hi @machinedean. Most likely caused by the `wpActiveEditor` JS global
 being 'undefined'. There is some JS outputted from WP_Editor that sets
 `wpActiveEditor` on interaction with the textarea, may need to add
 something similar/more in your plugin.

 Could you test your code in trunk. There were some changes to wpLink as
 part of the TinyMCE 4.0 upgrade, and this should work properly now.

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


More information about the wp-trac mailing list