Opened 6 years ago

Closed 6 years ago

#3411 closed Bug (duplicate)

Pressing bold in middle of bold line unbolds entire line

Reported by: highjinx_53 Owned by:
Priority: Normal Milestone:
Component: General Version: SVN (CKEditor) - OLD
Keywords: Cc:

Description

Steps to reproduce:

  • Open replace by class example.
  • Start with the following source:
    <p>
    	<b>This is a ^bold line.<br />
    	</b></p>
    
  • Press the bold button
  • Expected result:
    <p>
    	<b>This is a </b>^<b>bold line.<br />
    	</b></p>
    
  • Encountered result:
    <p>
    	This is a bold line.<br />
    	</p>
    

Both Microsoft Word and Google Docs work correctly. Additionally, when doing the opposite (going from normal to bold), CKEditor works correctly.

This can be reproduced in any of the nightly samples.

Attachments (1)

3411.patch (1.2 KB) - added by highjinx_53 6 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 6 years ago by highjinx_53

This is also an issue with italic and underline.

Changed 6 years ago by highjinx_53

comment:2 Changed 6 years ago by highjinx_53

I've attached a file which fixes this issue.

comment:3 Changed 6 years ago by garry.yao

  • Resolution set to duplicate
  • Status changed from new to closed

Hi highjinx_53, it's a good catch, a similar fix is provided at #2976.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy