Opened 16 years ago

Closed 16 years ago

#3411 closed Bug (duplicate)

Pressing bold in middle of bold line unbolds entire line

Reported by: Josh Nisly 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 Josh Nisly 16 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 16 years ago by Josh Nisly

This is also an issue with italic and underline.

Changed 16 years ago by Josh Nisly

Attachment: 3411.patch added

comment:2 Changed 16 years ago by Josh Nisly

I've attached a file which fixes this issue.

comment:3 Changed 16 years ago by Garry Yao

Resolution: duplicate
Status: newclosed

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

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