Open
Description
-- Bug Report --
Expected Behavior
The blockComponent
shouldn't be re-created all times
Current Behavior
Since the version 0.7.0
the blockComponent
is always re-created when you write a special character like ê
, ë
(combinaison of two keyboard keys to being added).
Steps to Reproduce
Go to : https://codesandbox.io/s/megadraft-with-plugins-and-example-content-forked-ck83pb?file=/src/index.js
- Open the console, you see one
ImageButton mount ...
andImageBlock mount ...
- Type something in the editor you, nothing happened in the console
- Now type character
ê
multiple times and see the console, theImageBlock
component is re-created for each character... - Downgrade the version of
megadraft
under the0.7.0
, and type the special character, you can see the expected behavior
Browser, device, and OS
Screenshots
Metadata
Assignees
Labels
No labels
Activity