bustle / mobiledoc-kit

A toolkit for building WYSIWYG editors with Mobiledoc
https://bustle.github.io/mobiledoc-kit/demo/
MIT License
1.55k stars 150 forks source link

Non-breaking spaces are ignored by the editor #700

Closed xDEADC0DE closed 2 years ago

xDEADC0DE commented 4 years ago

I cannot add non-breaking spaces to the editor, using Chrome on Windows and Ghost. (https://github.com/TryGhost/Ghost )

Whether I type it with Ctrl+Shift+Space, or paste it from somewhere else nothing gets added to the text (pasting " :" only adds the ":").

Please note that this is not simply a formatting issue ; I'm writing a blog post in French where non-breaking spaces are part of the usual typography.

xDEADC0DE commented 4 years ago

Is this project still active?

gpoitch commented 2 years ago

This seems to be working correctly. Perhaps it got fixed along the way, as this issue is old.

On Mac, if I enter option+space to insert a non-breaking space it appears correctly. When I copy the content and paste it in my text editor, it shows the non-breaking space differentiation from a regular space.

If not fixed for you, maybe a windows issue?