[wp-trac] [WordPress Trac] #32143: wpLink function getAttrs() missing link-text

WordPress Trac noreply at wordpress.org
Thu Jan 28 15:52:39 UTC 2016


#32143: wpLink function getAttrs() missing link-text
-------------------------+------------------------------
 Reporter:  xwolf        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Editor       |     Version:  4.2
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  javascript
-------------------------+------------------------------

Comment (by hereswhatidid):

 +1 for this.

 When using the link chooser outside of the WYSIWYG it would be much nicer
 to not have to sniff around the DOM to find the link text input field and
 it's value. Having it be part of the returned value from getAttrs() method
 would be much nicer.

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


More information about the wp-trac mailing list