[wp-trac] [WordPress Trac] #36783: wplink should prioritize textContent over innerText so as to ignore any text-transform styling
WordPress Trac
noreply at wordpress.org
Thu Jun 2 03:08:05 UTC 2016
#36783: wplink should prioritize textContent over innerText so as to ignore any
text-transform styling
--------------------------+-----------------------------
Reporter: dougwollison | Owner: azaozz
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.6
Component: Editor | Version: trunk
Severity: normal | Resolution: fixed
Keywords: | Focuses: ui, javascript
--------------------------+-----------------------------
Changes (by azaozz):
* owner: => azaozz
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"37621"]:
{{{
#!CommitTicketReference repository="" revision="37621"
Editor wpLink: swap the order of `innerText` and `textContent` to avoid
getting styled text in IE.
Props dougwollison.
Fixes #36783.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36783#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list