Opened 4 years ago

Closed 4 years ago

#13560 closed Bug (wontfix)

Deleting empty lines above a heading change the headings format to "normal".

Reported by: rangar Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version:
Keywords: Cc:

Description

If an empty line that is positioned right above a heading gets deleted, the format of the heading changes to "normal".

Change History (1)

comment:1 Changed 4 years ago by Jakub Ś

Resolution: wontfix
Status: newclosed
Version: 4.4.7

This is native browser behaviour. If you try the same with below code on plain HTML page, you will get same result.

<div style="margin:20px; border:1px solid black; width:500px;" contenteditable="true">	
	<p>&nbsp;</p>
	<h1>test</h1>
</div>

Just put cursor above the header and press Delete. Format will be changed (i.e. H1 changed into P). I'm sorry but there is nothing we can do about it.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy