Rearrange the sections on a page
Steps to Reproduce:
- Select the entire last section
- Cut (Command-X) the section
- Paste it elsewhere
The formatting for the section heading (not the formatting for the last line) remains at the end of the page.
The last line should either disappear entirely (be replaced by a slug) or be set to default/Paragraph styling
Removing the blank section heading produced its own problems; look for the next bug report.
T52100: VisualEditor: Deletion across a header caused it to remain without WS, leading Parsoid to output "==<nowiki/>=="
T57769: VisualEditor: Copying and pasting results in new blank section heading: "== <nowiki /> =="