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

WordPress Trac noreply at wordpress.org
Mon Jan 20 10:55:18 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        |   Keywords:
--------------------------+-----------------------------
 Hopefully this is enough information. It doesn't appear that anyone else
 has reported this bug. I've also extensively Googled to see if there a fix
 but with no luck.

 We typically use multiple wp_editor() functions for custom post types as
 this provides an easier interface for our users.

 Unfortunately, it appears with the most recent version of WordPress (3.8)
 some of the functionality is now broken. This is reported for at least 2
 of our websites and we're holding off on updating Wordpress on our other
 websites until this is resolved.

 1. Firstly, I highlight text that I want to make into a link
 2. Pressing the 'link' button (in Text mode only) opens the dialogue as
 usual
 3. After entering the URL, I press 'Add link' and nothing happens.

 If I close the dialogue box I get the following error in console:

 "TypeError: wpLink.textarea is undefined"

 If I click the 'link' button again the dialogue does not appear but the
 lightbox overlay covers the screen.

 I could be wrong but I think the issue is to do with the id 'wp-link-
 submit'. I believe this is the case since the functionality for the
 default editor works fine and the wp_editor()'s underneath do not.

 Please let me know if you need any further information.

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


More information about the wp-trac mailing list