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

WordPress Trac noreply at wordpress.org
Sat Apr 25 15:27:14 UTC 2015


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

Comment (by azaozz):

 Replying to [comment:7 xwolf]:

 Not sure what you're trying to do here, but these hacks look pretty bad:

 {{{
 if ( typeof wpActiveEditor != 'undefined') {
   wpActiveEditor = undefined;
 }
 ...
 wpLink.textarea = $('html');
 }}}

 You're removing the (needed) reference to the active editor and setting
 the textarea to the documentElement? Why?

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


More information about the wp-trac mailing list