Opened 9 years ago
Closed 9 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 )
Steps to reproduce
- Open the web page in browser (http://ckeditor.com/demo).
- In the Standard editor, select "Armstrong" the second paragraph, click the Bold button. Then "Armstrong" will be in <strong></strong>.
- select "Arms" , reclick the Bold button. Then "Arms" will not be strong.
- Don't change selection and reclick the Bold button. Then "Arms" will be in <strong></strong> again.
- 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 9 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 9 years ago by
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.