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

  1. Use replacebycode sample.
  2. Set HTML
    <p><b>Apollo 11</b> was the spaceflight that landed the first humans.</p>
    
  3. Set caret so it is still bold
    Apollo 11^ was…
    
  4. Click remove format.
  5. Type a few words.
  6. ENTER.
  7. 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 Piotrek Koszuliński

[*]

comment:2 Changed 11 years ago by Jakub Ś

Status: newconfirmed
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 Jakub Ś

Summary: Unexpected bold when breaking a lineUnexpected bold when breaking a line after Removing Format on collapsed selection

comment:4 Changed 11 years ago by Jakub Ś

Issues related to remove formatting: #10872, #13427, #14727

Last edited 7 years ago by Jakub Ś (previous) (diff)

comment:6 Changed 9 years ago by kkrzton

Still broken in FF 43.0, Chrome 47.0.2526.106 (64-bit) and CKEditor 4.5.6.

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