VilizarTodorov Github contribution chart
VilizarTodorov Github Stats
VilizarTodorov Most Used Languages

Activity

28 Sep 2022

Issue Comment

VilizarTodorov

Invalid selection state.

What is the current behavior? I want to stitch Chinese after IMMUTABLE entity, but it will destroy the previous entity。 Give a warning: Invalid selection state。

What is the expected behavior? I want to retain the previous entity.

Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js? It is normal in version 0.10.5, but not in version 0.11.5.

Forked On 28 Sep 2022 at 08:49:58

VilizarTodorov

I had the same problem using Next.js and used @zeekrey 's solution to dynamically load the editor and the problem was gone

Commented On 28 Sep 2022 at 08:49:58