Changes between Version 79 and Version 80 of Ticket #9998
- Timestamp:
- Apr 25, 2014, 11:42:11 AM (10 years ago)
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
-
Property
Version
changed from
-
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) 1 This is an umbrella ticket for all issues related to backspace and delete keys handling caused by the following Webkit's and Blink's bugs: 2 2 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 4 5 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. 6 Related tickets: #8438, #8439, #8440, #10359, #10515, #11483, #11592, and many others... 46 7 47 8 ---- … … 50 11 51 12 === <span> created while joining two adjacent elements === 13 52 14 Related issues: #9998 53 15 … … 74 36 3. `<h1>foo<span style="font-size:13px; line-height:1.6">bar</span></h1>` 75 37 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> === 77 39 78 40 ==== Backspace (unable to remove formatting) ==== … … 111 73 6. `<p><b>bar^</b></p>` 112 74 113 === <span> created while splitting elements (DnD), extra === 114 Related issues: #10515 75 === <span> created while splitting elements (DnD), extra === 76 77 Related issues: #10515 115 78 116 79 1. Set the following HTML