1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-01 03:11:44 +02:00

Update examples in docs, editable voids example (#4925)

* Update examples in docs, editable voids example

* Update typescript docs
This commit is contained in:
Eric Meier
2022-04-03 17:57:38 +01:00
committed by GitHub
parent aff67312cb
commit f17413086e
4 changed files with 12 additions and 14 deletions

View File

@@ -73,7 +73,7 @@ const App = () => {
}, [])
return (
<Slate editor={editor} value={value}>
<Slate editor={editor} value={initialValue}>
<Editable
renderElement={renderElement}
onKeyDown={event => {