Opened 9 years ago
Closed 9 years ago
#33293 closed defect (bug) (fixed)
Editor: Editing the URL of an image in visual editor removes the image.
Reported by: | obenland | Owned by: | iseulde |
---|---|---|---|
Milestone: | 4.3 | Priority: | high |
Severity: | major | Version: | 4.3 |
Component: | Editor | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Using the visual editor: if you edit the URL of an image with the "Link" tool in the TinyMCE toolbar, the image is removed and the plain URL is displayed instead.
Screen cast to show the issue - http://quick.as/4n4zcbxqb
To reproduce:
- Create a new post
- Click "Add Media" and insert an image -- under "ATTACHMENT DISPLAY SETTINGS" make sure the image will have a link of some sort.
- Once inserted to the post, click the image once to select it.
- Click "Insert/Edit link" button in TinyMCE toolbar.
- Type or paste a URL, hit Enter and click "Update"
- Watch image disappear and be replaced by the bare URL.
Attachments (1)
Change History (8)
This ticket was mentioned in Slack in #core by obenland. View the logs.
9 years ago
This ticket was mentioned in Slack in #core-editor by azaozz. View the logs.
9 years ago
Note: See
TracTickets for help on using
tickets.
Caused by using the URL when link text is empty. In 33293.patch: use the URL only when the link text field is used.