draft-js-diff icon indicating copy to clipboard operation
draft-js-diff copied to clipboard

Character level diff cause weird editing behavior

Open Soreine opened this issue 9 years ago • 2 comments

The Editor sometimes register a key twice as we type. Might be linked to performance issues that delay the EditorState update while typing ?

Soreine avatar May 23 '16 22:05 Soreine

On the branch no-decorator-set, we don't set new decorators on the EditorStates, and the repeated keys issue disapears. It seems not to be related to performances issues, because the Editor behaves well, even with slow updates.

Soreine avatar May 24 '16 08:05 Soreine

Linked to issue https://github.com/facebook/draft-js/issues/414

Soreine avatar May 24 '16 11:05 Soreine