Opened 10 years ago

Closed 10 years ago

#13104 closed Bug (duplicate)

Backspace until the beginning of the line make loose the inline styles

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

Description

When you define a style for one line, then you press enter and continue to write some text, we keep the inline styles. But now if we use the backspace until deleting the first character, then, if I don't move the cursor, it will correctly keep the inline style, but if I move my cursor or click outside the editor or backspace one more time until to delete the new line and have the cursor at the end of the last line, then when I write again some text, I loose the inline styles.

First I have this

"<p><font face="comic sans ms, cursive">my text</font></p>" --> Then press enter

"<p><font face="comic sans ms, cursive">my text</font></p>

<p><font face="comic sans ms, cursive">my new text</font></p>" --> Then Backspace until you delete the first letter, and then you have different possibilities to reproduce. You can click outside the editor then come back and write text again. Or you can backspace one more time to come back to the first line and then write again some text. In both case we loose our font family.

Change History (1)

comment:1 Changed 10 years ago by Jakub Ś

Keywords: backspace inline style removed
Resolution: duplicate
Status: newclosed
Version: 4.4.7

DUP of #12634

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy