Opened 8 years ago
Last modified 8 years ago
#16718 confirmed Bug
[IE11][CF] Styles applied to the wrong node when CF used exactly on the same position for the second time. — at Initial Version
Reported by: | kkrzton | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.6.0 |
Keywords: | IE11, Copyformatting | Cc: |
Description
Steps to reproduce
Can be easily reproduced on /tests/plugins/copyformatting/manual/safaricolor (for both editors).
- Put caret inside the first paragraph e.g. Text without any format.
- Click Copy Formatting button.
- Click on the last word (Orange) inside last paragraph like
Ora^nge
. - Put caret inside second paragraph e.g. Text with Font Georgia Size 22 & Text Colour Red.
- Click Copy Formatting button.
- Click on the last word (Orange) inside last paragraph like
Ora^nge
.
Expected result
On the second click styling should be copied and applied to the word Orange.
Actual result
On the second click, styling is applied to first part of the last paragraph Text with Background Colour
instead of Orange
word.
Other details (browser, OS, CKEditor version, installed plugins)
Happens on IE11, Chrome and Firefox works fine.
This issue was found while fixing #16618. It looks similar but the cause is different so it was extracted as a separate issue.