Changes between Initial Version and Version 1 of Ticket #14368


Ignore:
Timestamp:
Feb 2, 2016, 4:04:14 PM (4 years ago)
Author:
Marek Lewandowski
Comment:

Simplified test case.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14368 – Description

    initial v1  
    11== Steps to reproduce ==
    22
    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.
     3Simplified the test case:
    84
    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.
     51. Open the editor and set the following source:
    116
    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
     111. Put the selection in the middle of line: {{{Sample ^line}}}.
     121. Apply red font color using the "Text Color" button.
     13
     14**Expected:**
     15
     16Red font color should be applied only to what you're about to write.
     17
     18**Actual:**
     19
     20Text color of the paragraph is removed.
     21
     22
     23**Additional notes:**
     24
     251. 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).
     261. This issue might be similar to #13821.
     271. Could be reproduced with Chrome, Firefox and IE11.
    1428
    1529== Other details (browser, OS, CKEditor version, installed plugins) ==
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy