Opened 11 years ago
Last modified 7 years ago
#10872 confirmed Bug
Unexpected bold when breaking a line after Removing Format on collapsed selection
Reported by: | Olek Nowodziński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Styles | Version: | 3.5.1 |
Keywords: | Cc: |
Description
- Use replacebycode sample.
- Set HTML
<p><b>Apollo 11</b> was the spaceflight that landed the first humans.</p>
- Set caret so it is still bold
Apollo 11^ was…
- Click remove format.
- Type a few words.
- ENTER.
- For unknown reason, typing bold in the new line:
<p><b>Apollo 11</b> cow says moo</p> <p><b>...</b> was the spaceflight that landed the first humans.</p>
I'm able to reproduce it since 3.6.6.1 in Chrome, Firefox and Safari (Mac).
Change History (5)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Status: | new → confirmed |
---|---|
Version: | 3.6.6 (SVN - trunk) → 3.5.1 |
When you have something like <p><strong>Apollo 11</strong> was the spaceflight that landed the first humans.</p>
and then use Remove Format command, below line with Apollo 11 new empty set of strong tags is created <strong></strong>
.
These tags then get transferred to new paragraph when you press enter. FireBug shows this nicely.
I was able to reproduce this problem from CKEditor 3.5.1 rev. [6288]. It seems that remove format for collapsed selection was introduced then.
comment:3 Changed 11 years ago by
Summary: | Unexpected bold when breaking a line → Unexpected bold when breaking a line after Removing Format on collapsed selection |
---|
comment:4 Changed 11 years ago by
comment:6 Changed 9 years ago by
Still broken in FF 43.0, Chrome 47.0.2526.106 (64-bit) and CKEditor 4.5.6.
[*]