#5678 closed Bug (invalid)
Styles are used on the next line inconsistently
Reported by: | Alex Medina | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.2.1 |
Keywords: | Cc: | alex@…, lokeshnagpal86@… |
Description (last modified by )
CKeditor 3.2.1. : Styles are used on the next line inconsistently
This was tested in FF and IE in the demo site.
- clear the content of the CKeditor textarea
- write these lines in the textarea
111111111111 222222222222 333333333333
- select the line with "222222222222" and apply Style "Blue Title"
- put your cursor at the end of the line and hit the enter (return) key
- type "this is normal text"
- => The "Blue Title" style is not used.
However, if you repeat the same process for other style such as variable, the style is used on the next line as well after the newline.
There is inconsistency of style behavior.
*Try to test this behavior with other styles as well with this ticket.
Change History (3)
comment:1 Changed 14 years ago by
Cc: | lokeshnagpal86@… added |
---|---|
Summary: | CKeditor 3.2.1. : Styles are used on the next line inconsistently → CKeditor 3.4.2. : Styles are used on the next line inconsistently |
Version: | 3.2.1 → 3.4.2 |
comment:2 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Summary: | CKeditor 3.4.2. : Styles are used on the next line inconsistently → Styles are used on the next line inconsistently |
Version: | 3.4.2 → 3.2.1 |
comment:3 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
By default with every ENTER pressed the new paragraph is pasted. "Blue Title" is h3 block element which wraps around line of text. It can’t be continued with every ENTER pressed because it would be impossible to get out of it.
By default there is also another option SHIFT+ENTER which inserts BR tags and allows to continue block (Blue Title) style .
So If the user wants to get out of “Blue Title” he/she presses ENTER , if he/she wants to continue the style he/she presses SHIFT+ENTER.
“Variable” style is an inline style which inserts inline tags VAR which are wrapped in P tags.
Such inline styles are continued with every line entered. Just look at font-styles. With every ENTER pressed a new paragraph with span is inserted.
If you want to disable this style just unselect it from drop-down list.
Style continuation is a browser dependent issue. Some browsers such as Firefox, make it easy to move in and out element boundaries, while others IE, Opera and Webkit, don't. If you are using Firefox and you are out of element boundaries then the inline style won’t be continued.
Like I’ve said this very special case is browser dependent and is not CKEditor bug and was already described in #7796 and in #8195
Lokesh: please, stop changing the version of reported bugs. It certainly doesn't help at all because it makes it look like a recent problem instead of something related to older changes (or even something that it has been always this way)