Last modified: 2013-11-20 11:00:37 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 T52418, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50418 - VisualEditor: Backspace from header line into empty paragraph changes header format into paragraph
VisualEditor: Backspace from header line into empty paragraph changes header ...
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: D Chan
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-29 12:05 UTC by Axel Boldt
Modified: 2013-11-20 11:00 UTC (History)
6 users (show)

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


Attachments

Description Axel Boldt 2013-06-29 12:05:55 UTC
If a header line is preceded by an empty line, and one tries to remove that empty line by placing the cursor at the beginning of the header line and hitting Delete, the empty line is removed as expected, but the header line turns into Paragraph formatting, which is unexpected and incorrect.

Note that the behavior is correct if the line preceding the header line is *not* empty: in that case we want to merge the header line with the previous line, and the header formatting should be removed.
Comment 1 Axel Boldt 2013-06-29 12:14:52 UTC
Sorry: I should have said "Backspace", not "Delete".
Comment 2 James Forrester 2013-11-20 11:00:37 UTC
The initial behaviour was, I believe, fixed some time ago; the rest of the bug (as now stated in the title) is intentional behaviour. Marking as FIXED.

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


Navigation
Links