Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#37360 closed defect (bug) (duplicate)

Link saving issues with insert/edit link

Reported by: vincentgustav Owned by:
Priority: normal Milestone:
Component: TinyMCE Version: 4.5
Severity: normal Keywords: needs-patch
Cc: Focuses: javascript

Description

Good day,

A client complained links were not saving on update/publish. After watching their odd way of adding links, I determined it was indeed a bug. I recreated this bug on a clean install of wordpress with no plugins on two hosting environments and on: chrome, firefox, safari, and edge.

This issue happens if a link is added in this manner:

step 1 - click a blank area on the WYSIWYG editor

step 2- click the insert/edit link button and select the gear from the link popup

step 3 - fill out the link URL and text in the 'link settings' modal window and then save the link

The link will appear as expected (blue and underlined), however, on update/publish the html will be stripped leaving only the text. If the text was added first, then highlighted, and the then the insert/edit link button is clicked the link will stay on publish/update of the post/page.

It is an odd way of adding a link but I thought the glitch should be made aware of.

Thanks,

V

Change History (2)

#1 @afercia
10 years ago

  • Component GeneralTinyMCE
  • Focuses javascript added
  • Keywords needs-patch added
  • Milestone Awaiting ReviewFuture Release
  • Version 4.5.34.5

Reproduced on 4.5.

#2 @azaozz
10 years ago

  • Milestone Future Release
  • Resolutionduplicate
  • Status newclosed

Thanks @vincentgustav for the bug report. I can reproduce it too, but looks like it is a duplicate of #36683.

Note: See TracTickets for help on using tickets.