Last modified: 2014-02-28 23:04:57 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 T54770, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52770 - VisualEditor: cutting block level elements changes the type of following element
VisualEditor: cutting block level elements changes the type of following element
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
ContentEditable (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-12 20:50 UTC by Richard Morris
Modified: 2014-02-28 23:04 UTC (History)
4 users (show)

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


Attachments

Description Richard Morris 2013-08-12 20:50:51 UTC

    
Comment 1 Richard Morris 2013-08-12 20:59:41 UTC
This was first raised at 
http://en.wikipedia.org/wiki/Wikipedia:VisualEditor/Feedback#Removing_line_above_header_.22de-headers.22_it.3B_lack_of_.22undo.22_facility

If you have a document like
==Heading 2==
===Heading 3===
====Heading 4====
Paragraph.

i.e.

<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<p>Paragraph.</p>

and select the heading 3 block, so the selection goes all the way to the right hand side of the screen then delete, it will change the following heading to be an <h3> element. Likewise deleting the whole of the heading 4 line and deleting changes the paragraph to be a <h3> heading.

I've made a test file at http://en.wikipedia.org/wiki/User:Salix_alba/VE_test

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


Navigation
Links