prezly / slate

Prezly software built upon Slate (http://slatejs.org/)
MIT License
61 stars 13 forks source link

Demo breaks after specific combinations of nesting/unnesting operations #8

Closed e1himself closed 3 years ago

e1himself commented 3 years ago

I've managed to break the Demo editor mentioned in #7.

I've only used Tab or Shift-Tab on my keyboard to nest/unnest specific portions of text.

Знімок з 2021-02-17 14-48-07

https://user-images.githubusercontent.com/370680/108207202-17681c80-7130-11eb-9a56-698b42723b35.mp4


Browser: Firefox 85.0.1 (64-bit) for Ubuntu

kamilmielnik commented 3 years ago

Thanks for the report!

I believe I've fixed it - I cannot reproduce it anymore.

@e1himself can you please give it a try? :pray:

https://codesandbox.io/s/prezlyslate-lists-demo-complete-example-h9xxi?file=/src/App.tsx

e1himself commented 3 years ago

Thanks @kamilmielnik!

It seems to be fixed now.

Good job! :+1: