[wp-trac] [WordPress Trac] #39437: TinyMCE: better way to remove spaces from empty paragraphs

WordPress Trac noreply at wordpress.org
Sat Jan 14 22:07:45 UTC 2017


#39437: TinyMCE: better way to remove spaces from empty paragraphs
-------------------------+------------------
 Reporter:  azaozz       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.8
Component:  TinyMCE      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------

Comment (by azaozz):

 We are looking primarily for ` ` but in `innerHTML` sometimes there
 can be couple of white space chars around it (also depends on the browser)
 so 10 is a good compromise between length and functionality. We want
 `innerHTML` to avoid paragraphs with inline tags.

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


More information about the wp-trac mailing list