Page MenuHomePhabricator

VisualEditor: Drag-and-drop an inserted image slices a table
Closed, ResolvedPublic

Description

Dragging images to table

  1. In VE insert a table(do not enter anything in the table).
  2. Inser->Media-> select and insert any image outside the table.
  3. Select the inserted image and drag it to the table - make sure that the insertion indication(an underscore) is displayed outside of the table, on the right side.

Drop the table - the table becomes separated in two parts. The attached screenshot shows the result of several attempts of the described scenario


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2014-11-04_at_4.03.56_PM.png (265×1 px, 48 KB)

Details

Reference
bz72995

Event Timeline

Change 171271 had a related patch set uploaded by Esanders:
Replace block drop logic with isAllowedChildNodeType check

https://gerrit.wikimedia.org/r/171271

Change 171271 merged by jenkins-bot:
Replace block drop logic with isAllowedChildNodeType check

https://gerrit.wikimedia.org/r/171271

Created attachment 17066
Dragging images to table

I added a screen recording - kind of tricky to reproduce, however, something can be(or should be) done about the issue?

Attached:

(In reply to etonkovidova from comment #3)

Created attachment 17066 [details]
Dragging images to table

I added a screen recording - kind of tricky to reproduce, however,
something can be(or should be) done about the issue?

Ah, that's of block images; inline images now work fine.

I'm minded to say that we won't try to fix block images here; at least, let's put that into a different bug?

Attached:

Bug 73318 was created about drag-and-drop block images issue.