Page MenuHomePhabricator

VisualEditor: cutting block level elements changes the type of following element
Closed, ResolvedPublic

Description


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=52771

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:09 AM
bzimport set Reference to bz52770.

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

Jdforrester-WMF lowered the priority of this task from High to Medium.Jan 15 2015, 12:30 AM
Jdforrester-WMF updated the task description. (Show Details)
Jdforrester-WMF set Security to None.

Similar to T52419 in that it involves selections which overflow into the next CBN.

Change 980444 had a related patch set uploaded (by Esanders; author: Esanders):

[VisualEditor/VisualEditor@master] Make headings of different levels "un-mergeable"

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

Change 980444 merged by jenkins-bot:

[VisualEditor/VisualEditor@master] Make headings of different levels "un-mergeable"

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

Change 981374 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (402570007)

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

Change 981374 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (402570007)

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