slate
slate copied to clipboard
renderElement keeps rendering when the editing component is empty
Description When the editor deletes all content, renderElement keeps on rendering
Recording
https://user-images.githubusercontent.com/49971276/223696554-872282da-e77d-4901-9958-3cd1ca50c5aa.mov
Steps
Environment The example provided by the official website used