VisualEditor: Deleting the slug a floated image appears in deletes the image… but retains the caption as a paragraph
Closed, ResolvedPublic


Deleting leading newline destroys [[File:....]]

Steps to reproduce:

  1. Open a page with [[File:...]] as first line
  1. VE adds a leading newline into the edit window
  1. Delete this leading newline because for experienced editor it looks superfluous
  1. Save

Result: [[File:...]] syntax is destroyed, only the caption is left.

Version: unspecified
Severity: normal


Raymond created this task.Jun 16 2013, 5:46 PM

Deleting the slug a floated item is locked into is "designed" to delete the item, so this is expected behaviour. See bug 43026 for a wider discussion - we need a better UX concept around here, I feel.

However, leaving the caption there is... not meant to happen. Re-purposing.

I cannot reproduce it now. Looks like it got fixed. Therefore, changing the status to resolved-fixed .
Reopen it if you think it still exists.

Backdating to when I *think* we fixed this.

Add Comment