Slate: Accentuated characters with ^ or ¨ are broken on Safari

Created on 14 Dec 2018  Â·  2Comments  Â·  Source: ianstormtaylor/slate

On Safari 12.0.2, french keyboard
"slate-react": "0.19.3"
"slate": "0.42.2"

When I type ^ or ¨ before a letter it is not taken into account, I expect to generate a î or ï (useful for french words)

It works fine in firefox or chrome.
The problem appears on slatejs official exemple (cf. gif below) as in my setup (copy of rich text example)
I have not error in safari dev console

slatejs_bug_circonflex_accent

It seems different from #1319 since it doesn't raise any error

Thanks for your help and slate.js project, I worked on it for a few days and it's great !

bug ♥ help

Most helpful comment

For me it's also happening with ` and ´.
I'm using version 0.44.7 but in https://www.slatejs.org/#/rich-text it also happens

All 2 comments

For me it's also happening with ` and ´.
I'm using version 0.44.7 but in https://www.slatejs.org/#/rich-text it also happens

I believe that this may be fixed by https://github.com/ianstormtaylor/slate/pull/3093, which has changed a lot of the logic in Slate and slate-react especially. I'm going to close this out, but as always, feel free to open a new issue if it persists for you. Thanks for understanding.

Was this page helpful?
0 / 5 - 0 ratings