Changes between Version 79 and Version 80 of Ticket #9998


Ignore:
Timestamp:
Apr 25, 2014, 11:42:11 AM (10 years ago)
Author:
Piotrek Koszuliński
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9998

    • Property Version changed from 4.0 to
    • Property Keywords Blink Webkit added; Chrome removed
    • Property Summary changed from [Blink] In Chrome SPAN tags appear when merging paragraphs with delete/backspace. to [Umbrella][Blink/Webkit] Issues related to backspace and delete keys handling
  • Ticket #9998 – Description

    v79 v80  
    1 Occurs in Chrome v24.0.1312.56 / CKEditor 4.0.1 (revision d02739b) / CKEditor 4 DEV (Standard) (revision d02739b) (nightly build demo)
     1This is an umbrella ticket for all issues related to backspace and delete keys handling caused by the following Webkit's and Blink's bugs:
    22
    3 Did not occur in Firefox v17.0.1
     3* http://code.google.com/p/chromium/issues/detail?id=226941
     4* https://bugs.webkit.org/show_bug.cgi?id=114791
    45
    5 When you have a paragraph with several lines of text, ie.:
    6 
    7 {{{
    8 <p>line1<br />
    9 line2</p>
    10 }}}
    11 
    12 and want to create 2 separate paragraphs, you could go with your cursor to the end of line1, press ENTER to create a new paragraph and press DELETE to remove the whiteline caused by the BR tag. Then CKEditor puts some HTML in a SPAN tag with a line-height styling.
    13 
    14 {{{
    15 <p>line1</p>
    16 <p><span style="line-height: 1.6em;">line2</span></p>
    17 }}}
    18 
    19 Other examples: It also happens when trying to create a single line out of the next cases:
    20 
    21 {{{
    22 <p><br />
    23 line2</p>
    24 }}}
    25 
    26 and
    27 
    28 {{{
    29 <p>line1</p>
    30 <p>line2</p>
    31 }}}
    32 
    33 == Edits ==
    34 
    35 * **This happens when two paragraphs are joined with delete. Tag br has nothing to do here. **
    36 
    37 * **Another TC: http://stackoverflow.com/questions/14952515/ckeditor-entermode-issue-in-chrome**
    38 
    39   Content: {{{<h1>^test</h1>}}} + enter + backspace creates awful mess.
    40 
    41 * Browser issues:
    42     * http://code.google.com/p/chromium/issues/detail?id=226941
    43     * https://bugs.webkit.org/show_bug.cgi?id=114791
    44 
    45 * Related issues: #8438, #8439, #8440, #10359, #10515, #11483, #11592.
     6Related tickets: #8438, #8439, #8440, #10359, #10515, #11483, #11592, and many others...
    467
    478----
     
    5011
    5112=== <span> created while joining two adjacent elements ===
     13
    5214Related issues: #9998
    5315
     
    74363. `<h1>foo<span style="font-size:13px; line-height:1.6">bar</span></h1>`
    7537
    76 === Attempt to preserve the visual style of the contents -> i.e. <strong> becomes <b> === 
     38=== Attempt to preserve the visual style of the contents -> i.e. <strong> becomes <b> ===
    7739
    7840==== Backspace (unable to remove formatting) ====
     
    111736. `<p><b>bar^</b></p>`
    11274
    113 === <span> created while splitting elements (DnD), extra &nbsp; ===
    114   Related issues: #10515
     75=== <span> created while splitting elements (DnD), extra &nbsp; ===
     76
     77Related issues: #10515
    11578
    116791. Set the following HTML
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy