1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-27 09:04:31 +02:00

Fix error when trying to grab selection of a void node while read only (#3894)

* fix(react-editor): text node spacer can be non-existant if editor is in readonly mode

* v0.59.1

* Revert "v0.59.1"

This reverts commit 58cb7f1d61.

* Update react-editor.ts

* Update react-editor.ts

* Create rude-lemons-crash.md

Co-authored-by: Ian Storm Taylor <ian@ianstormtaylor.com>
This commit is contained in:
Mikel Canovas
2021-03-31 15:33:28 -07:00
committed by GitHub
parent e344f47f03
commit 7fe41f1566
2 changed files with 17 additions and 7 deletions

View File

@@ -0,0 +1,5 @@
---
'slate-react': patch
---
Fixed an error that happened when selecting void nodes in a read-only editor.