https://bugzilla.wikimedia.org/show_bug.cgi?id=42121
Web browser: ---
Bug #: 42121
Summary: Paragraph generated for an empty document should not
be unwrapped on the way out
Product: VisualEditor
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Data Model
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
Currently, the DOM->data converter generates an empty paragraph if the input is
an empty string. This paragraph is marked with .internal.generated=='wrapper',
so it's unwrapped on the way out. This is bad because we lose change markers
that way, and have no way to propagate them.
Instead, it should use another generated marker which causes the paragraph to
be unwrapped only if it is empty, and be preserved if it's not empty.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l