Opened 11 years ago

Closed 11 years ago

#14323 closed Bug (invalid)

Cancel the Bold Style, there is redundancy html "<strong></strong>" left before the text

Reported by: HmTian Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description (last modified by Jakub Ś)

Steps to reproduce

  1. Open the web page in browser (​http://ckeditor.com/demo).
  2. In the Standard editor, select "Armstrong" the second paragraph, click the Bold button. Then "Armstrong" will be in <strong></strong>.
  3. select "Arms" , reclick the Bold button. Then "Arms" will not be strong.
  4. Don't change selection and reclick the Bold button. Then "Arms" will be in <strong></strong> again.
  5. Don't change selection and reclick the Bold button. Then "Arms" will not be strong. But there is a "<strong></strong>" before "Arms".

Expected result

"Arms"

Actual result

<strong></strong>"Arms"

Other details (browser, OS, CKEditor version, installed plugins)

Change History (2)

comment:1 Changed 11 years ago by Jakub Ś

Description: modified (diff)

comment:2 Changed 11 years ago by Jakub Ś

Resolution: → invalid
Status: new → closed
Version: 4.5.4

I can confirm that this "problem" is happening but what real problem does it cause?

When you get data from editor you should in always use ​getData() method which removes all the editor attributes as well as garbage like in the example above.

I'm sorry but I don't see a problem here and I will close this issue as invalid. @HmTian if you don't agree, please provide an explanation why this is a problem and I will consider reopening this ticket.

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