[wp-trac] [WordPress Trac] #23337: TinyMCE, webkit and backspace/linebreak/italic issues

WordPress Trac noreply at wordpress.org
Thu Jan 31 08:23:51 UTC 2013


#23337: TinyMCE, webkit and backspace/linebreak/italic issues
-----------------------------+--------------------------
 Reporter:  jnicol           |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  TinyMCE
  Version:  trunk            |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 On WP 3.5.1 and nightly I notice irregularities in TinyMCE on webkit
 (Chrome, Safari).

 When editing existing paragraphs in TinyMCE visual mode:

 - After deleting a paragraph break, it is impossible to insert a single
 linebreak
 - When deleting paragraph breaks, sometimes text will be wrapped in `<em
 id="__mceDel">...</em>`

 Steps to reproduce:

 1. In a new post, type: "One[return]two[return]three" (i.e. three
 paragraphs)
 2. Position the caret before the word "three". Hit [delete] to merge
 paragraphs two and three.
 3. Do a shift+return key combo, which should insert a single linebreak.
 Instead, a paragraph break is inserted.
 4. Place the caret before the word "two". Hit [delete] to merge paragraphs
 one and two. The third paragraph is italicised. Viewing the HTML source
 will show that it has been wrapped in an `em` tag with the id `"__mceDel"`

 Expected behaviour:

 - After deleting the space between two paragraphs, shirt+return should
 insert a single linebreak.
 - Text should not be italicised without the user having specified for
 TinyMCE to do so.

 I can consistently reproduce this behaviour in Chrome and Safari. Firefox
 seems to work as expected.

 I have tested with a clean install of WP 3.5.1 and the nightly build. I
 have tested on two different computers.

 OS: OS X Lion
 Browser: Chrome 24.0.1312.56, Safari 6.0.2

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23337>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list