Re: [w3c/editing] Should contenteditable have break-word behavior by default? (#145)

I'm running into this issue as well and have put together a quick gist to show the problem with space characters wrapping/starting a new line which creates a disconnect between and editing and viewing experience. Is this _magic_ going to be removed or are there any other work arounds available. The only things I can come up with to fix this are to turn the contenteditable="true" and add event listeners preventing the editing of the content or replacing all spaces with span's containing a space. Thanks!

https://gist.github.com/cfcomputing/448ec7402197f6f1c129f84b2836d89c

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/145#issuecomment-578311362

Received on Friday, 24 January 2020 21:36:26 UTC