Last modified: 2014-11-18 20:09:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68808, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66808 - VisualEditor: Making an image Frameless with out any wrap option deletes the content of the caption
VisualEditor: Making an image Frameless with out any wrap option deletes the ...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Ed Sanders
:
Depends on: 73575
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-18 19:51 UTC by Rummana Yasmeen
Modified: 2014-11-18 20:09 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Rummana Yasmeen 2014-06-18 19:51:22 UTC
Steps to reproduce:

1.Open a page with VE
2.Insert an image
3.Add caption to it
4.Make it frameless and uncheck the wrap option

Observed Result;
The image moves to the left and loses all its content in the caption


Environment:Test2 and production (en.wiki)
Comment 1 James Forrester 2014-06-18 20:50:02 UTC
The bit of this where the transaction is not undoable feels like a DM bug. Ed, could you look it it?
Comment 2 Moriel Schottlender 2014-06-18 21:36:18 UTC
Actually, this is the issue of retaining the caption data in inline images that I discussed with Ed and later with Roan yesterday. Roan mentioned the work on sub-documents as a potential fix for that, and perhaps a mid-way solution involving similar work to what the MWReferenceNode is doing.

We need to make sure the caption information is kept to inline images and then also sent back to Parsoid through the data-mw field.
Comment 3 Ed Sanders 2014-11-18 14:02:53 UTC
Currently captions on inline images are only made available as wikitext by Parsoid. In order to preserve these when converting between the block & inline that would need to change.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links