[wp-trac] [WordPress Trac] #36683: New Links with Text are not being inserted in visual editor for 4.5 and 4.5.1 versions
WordPress Trac
noreply at wordpress.org
Wed Apr 27 16:16:09 UTC 2016
#36683: New Links with Text are not being inserted in visual editor for 4.5 and
4.5.1 versions
---------------------------+-------------------------
Reporter: irwinbraganza | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.6
Component: Editor | Version: 4.5.1
Severity: normal | Resolution:
Keywords: | Focuses: javascript
---------------------------+-------------------------
Changes (by azaozz):
* milestone: Awaiting Review => 4.6
Comment:
I can reproduce it. Steps:
- Add a new link (with or without cutting some text first) from the modal,
both text and URL.
- Without typing or clicking anywhere else in the editor, click on
"Preview". The link is removed.
Happens as when a new link that is added from the modal, both text and
URL, it is being inserted in the MCE caret placeholder span. If the caret
is then moved inside the editor, that span is removed. However if the post
is saved straight away, only the text content from there remains.
Working on a patch. For now the workaround is to click or type in the
editor after adding a link in that manner.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36683#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list