Opened 9 years ago
Closed 9 years ago
#14368 closed Bug (duplicate)
change text background twice, cause the color to be lost
Reported by: | Anas | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description (last modified by )
Steps to reproduce
Simplified the test case:
- Open the editor and set the following source:
<p><span style="color:#00FF00">Sample line</span></p>
- Put the selection in the middle of line:
Sample ^line
. - Apply red font color using the "Text Color" button.
Expected:
Red font color should be applied only to what you're about to write.
Actual:
Text color of the paragraph is removed.
Additional notes:
- Interesting note is that
span[style="color:#FF0000;"]
has been created for the red font color, but the selection is not placed within thatspan
(that's the case at least for Chrome, because IE11 is able to put the selection correctly). - This issue might be similar to #13821.
- Could be reproduced with Chrome, Firefox and IE11.
Other details (browser, OS, CKEditor version, installed plugins)
Chrome Version 48.0.2564.97 m Win 8.1 CKEditor version 4.5.5 (also active on the live website and the nightly build). You can use the default config on the website demo, also i Attached is my build-config.js.
Attachments (1)
Change History (5)
Changed 9 years ago by
Attachment: | build-config.js added |
---|
comment:1 Changed 9 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 9 years ago by
Status: | new → confirmed |
---|
I can reproduce issue at least since 4.0.0.
comment:3 Changed 9 years ago by
Keywords: | change text background twice removed |
---|---|
Version: | 4.5.5 → 4.0 |
comment:4 Changed 9 years ago by
Resolution: | → duplicate |
---|---|
Status: | confirmed → closed |
Simplified test case.