[wp-trac] [WordPress Trac] #19462: Visual Editor Preserving Whitespace Instead of Stripping It

WordPress Trac noreply at wordpress.org
Tue Jan 14 01:02:36 UTC 2014


#19462: Visual Editor Preserving Whitespace Instead of Stripping It
--------------------------+----------------------
 Reporter:  lincolnadams  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  TinyMCE       |     Version:  3.2.1
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |
--------------------------+----------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 This is actually the default behavior in contenteditable mode in the
 browsers (not done by TinyMCE). Every other space is converted to
 ` `, so typing 6-7-8 spaces will be maintained and show on the front-
 end the way the user typed it.

 We can strip the extra spaces but not sure if this is the right think to
 do. Closing as wontfix for now, feel free to reopen with examples/user
 cases confirming why the default browser behavior should be changed.

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


More information about the wp-trac mailing list