[wp-trac] [WordPress Trac] #44348: Editor: Bold and Insert Anchor Link Bug
WordPress Trac
noreply at wordpress.org
Mon Jun 18 12:52:59 UTC 2018
#44348: Editor: Bold and Insert Anchor Link Bug
--------------------------+------------------------------
Reporter: atelierlabo | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.9.6
Severity: critical | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by atelierlabo):
It was this line in wp-includes/js/wplink.min.js (or wp-
includes/js/wplink.js for the unminified version) that's causing the
issue:
Line 447:
{{{
if ( $mceCaret.length ) {
$mceCaret.before( $link.removeAttr( 'data-mce-bogus' ) );
}
}}}
It seems the anchor link was positioned before the "caret"...
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44348#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list