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

WordPress Trac noreply at wordpress.org
Mon Jan 2 01:54:58 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       |   Keywords:
  Focuses:               |
-------------------------+-----------------
 Follow up from #35890 and #38294.

 It seems better to remove the white space chars (and ` `) in the DOM
 after the post content is loaded instead of searching through the HTML
 string with regex. It could be slower in some cases, but is a lot
 "cleaner".

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


More information about the wp-trac mailing list