Ticket #3411 (closed Bug: duplicate)

Opened 5 years ago

Last modified 5 years ago

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

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

Change History

comment:1 Changed 5 years ago by highjinx_53

This is also an issue with italic and underline.

Changed 5 years ago by highjinx_53

comment:2 Changed 5 years ago by highjinx_53

I've attached a file which fixes this issue.

comment:3 Changed 5 years ago by garry.yao

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

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