Opened 11 years ago

Closed 11 years ago

#9339 closed Bug (invalid)

bold behaves oddly for collapsed range

Reported by: yiminghe Owned by:
Priority: Normal Milestone:
Component: Core : Styles Version:
Keywords: Cc:


the first problem:


  1. click 'bold' button at the end of line:

  1. move cursor left by pressing left arrow of keyboard

  1. move cursor right by pressing right arrow of keyboard


can return to previous bold status.


no matter how many right arrow key are pressed, i can not return to previous bold status.

the second problem:


  1. click 'bold' button at the end of line:

  1. click 'bold' button again


current dom tree does not contains 'strong' element.


strong element still exists

attachment is a patch for problem 2.

Attachments (1)

remove_styles_9339.patch (1.3 KB) - added by yiminghe 11 years ago.
for problem 2

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by yiminghe

Attachment: remove_styles_9339.patch added

for problem 2

comment:1 Changed 11 years ago by Jakub Ś

Resolution: invalid
Status: newclosed
Version: 3.6.5 (SVN - trunk)

Both 1 and 2 are by design.

Ad 2. Although you can see strong element when examining WYSIWYG area with Firebug or similar tool please note that you don't see this element in elements path. Furthermore you will not see that element when switching to source nor you will see it when using getData() on editor.
This can be treated like some internal attribute that CKEditor adds in WYSIWYG mode and you should not be interested in it as it doesn’t have any impact on final result.

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