[wp-trac] [WordPress Trac] #26842: Contenteditable, multiple spaces, &nbsp, and U+00A0

WordPress Trac noreply at wordpress.org
Fri Mar 7 16:33:50 UTC 2014


#26842: Contenteditable, multiple spaces, &nbsp, and U+00A0
------------------------------+------------------
 Reporter:  azaozz            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.9
Component:  TinyMCE           |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |     Focuses:
------------------------------+------------------

Comment (by miqrogroove):

 azaozz describes part of the problem as having "invisible" special
 characters both in Visual and Text modes.

 On that premise, I wondered if {{{' '}}} would be a better solution
 than {{{'  '}}}, where the latter has the additional problem of
 taking line breaks directly between the space and the no-break space.

 On the contrary, entering {{{ }}} in the Text tab between sentences
 simply causes an invisible character to get inserted, leaving no way to
 distinguish between regular space and enspace in either tab.  The output
 looks nice, but the editing process is too convoluted.

 For this particular bug, I think it is important to ask if other
 whitespace characters should be editable as entities, and not only nbsp?

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


More information about the wp-trac mailing list