Changes between Initial Version and Version 1 of Ticket #14368
- Timestamp:
- Feb 2, 2016, 4:04:14 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #14368 – Description
initial v1 1 1 == Steps to reproduce == 2 2 3 1. Write a text in the editor (2 line of text). 4 2. Select it and change the text background color. 5 3. Click in the middle of the first line of text. 6 4. Change the background color again. 7 5. Note that same thing happens when change the text color. 3 Simplified the test case: 8 4 9 == Expected result == 10 The background color for the whole first line doesn't change until the user select the first line then change the color, or at least change the background color to the new selected color. 5 1. Open the editor and set the following source: 11 6 12 == Actual result == 13 The background color for the whole first line will be lost. 7 {{{ 8 <p><span style="color:#00FF00">Sample line</span></p> 9 }}} 10 11 1. Put the selection in the middle of line: {{{Sample ^line}}}. 12 1. Apply red font color using the "Text Color" button. 13 14 **Expected:** 15 16 Red font color should be applied only to what you're about to write. 17 18 **Actual:** 19 20 Text color of the paragraph is removed. 21 22 23 **Additional notes:** 24 25 1. Interesting note is that `span[style="color:#FF0000;"]` has been created for the red font color, but the selection is not placed within that {{{span}}} (that's the case at least for Chrome, because IE11 is able to put the selection correctly). 26 1. This issue might be similar to #13821. 27 1. Could be reproduced with Chrome, Firefox and IE11. 14 28 15 29 == Other details (browser, OS, CKEditor version, installed plugins) ==