[wp-trac] [WordPress Trac] #31263: Enter in wp-view forces paragraph tag.

WordPress Trac noreply at wordpress.org
Sun Feb 8 13:49:16 UTC 2015


#31263: Enter in wp-view forces paragraph tag.
--------------------------+------------------------------
 Reporter:  programmin    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  ui, javascript
--------------------------+------------------------------
Description changed by SergeyBiryukov:

Old description:

> When pressing enter while cursor is in wp-view's before/after position
> (the tall cursor from ticket 28595), it always inserts a new paragraph
> tag - no matter what the tinymce forced_root_block setting is.
>
> If you have forced_root_block set to div tag (as most web email clients
> and other editors do), it is inconsistent whenever this happens, as it is
> the only paragraph in the editor.

New description:

 When pressing enter while cursor is in wp-view's before/after position
 (the tall cursor from ticket #28595), it always inserts a new paragraph
 tag - no matter what the tinymce forced_root_block setting is.

 If you have forced_root_block set to div tag (as most web email clients
 and other editors do), it is inconsistent whenever this happens, as it is
 the only paragraph in the editor.

--

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31263#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list