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

WordPress Trac noreply at wordpress.org
Sat Jan 14 15:35:08 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 iseulde):

 Looks good to me. Just not sure why we check for the length to be 10, it
 seems kind of random. We shouldn't unnecessarily check long strings of
 course, but still. If we are only inserting ` `, maybe we should only
 check for that?

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


More information about the wp-trac mailing list