#12900 closed Bug (duplicate)
Styling not carried over to empty lines
Reported by: | Lynne Kues | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 3.0 |
Keywords: | IBM | Cc: |
Description
Starting with CKEditor demo, ctrl-a/x. Make sure Normal paragraph format is active. Change font to Verdana/14. Type in some text. Press return. Type in some more text. Press arrow-up key. Notice that the font styling is not maintained for the empty paragraph.
Reported by a customer. Expectation is that once font set it should remain active for the entire document.
Change History (3)
comment:1 Changed 10 years ago by
Status: | new → confirmed |
---|---|
Version: | → 3.0 |
comment:2 Changed 10 years ago by
I'm confused by comment1. If I do what is described in the description and then look at the source, I see this:
<p><span style="font-family:comic sans ms,cursive"><span style="font-size:16px">Test 123</span></span></p>
<p> </p>
<p><span style="font-family:comic sans ms,cursive"><span style="font-size:16px">Test</span></span></p>
comment:3 Changed 9 years ago by
Resolution: | → duplicate |
---|---|
Status: | confirmed → closed |
Styling is carried out to empty lines. You can check this with Firebug for example. You will see something like
<p><span style="font-family: comic sans ms, cursive;"></span></p>
The problem is that once you come back to this empty line, cursor is not put inside the span.
We could fix that by putting cursor to span when line is empty. User would see Font Dropdown enabled and if he doesn't want to use this style anymore, he can disable it using that dropdown. The same thing goes for other inline styles that are available in styles dropdown or for basic styles like bold, italic etc.