[wp-trac] [WordPress Trac] #28444: TinyMCE stops adding paragraph tags to text if you paste text with div tags before starting to write

WordPress Trac noreply at wordpress.org
Thu Oct 26 03:58:04 UTC 2017


#28444: TinyMCE stops adding paragraph tags to text if you paste text with div tags
before starting to write
--------------------------+------------------------------
 Reporter:  diegoe        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  TinyMCE       |     Version:  3.9.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by programmin):

 This is still super annoying even in 4.8.2. Divs should be much better
 supported in Wordpress since any shortcodes that outputs a div tag within
 a line of text will go out of the p tag and not get any styling or
 coloring of <span tag that should be around it, as it is invalid html if
 you use p instead of div containers.

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


More information about the wp-trac mailing list