1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-29 09:59:48 +02:00

Docs remove unused selection (#4927)

This commit is contained in:
cptKNJO
2022-04-11 19:10:41 +06:00
committed by GitHub
parent 1ff6e69093
commit ce02acd2fd

View File

@@ -33,7 +33,6 @@ const App = () => {
onKeyDown={event => {
if (event.key === '`' && event.ctrlKey) {
event.preventDefault()
const { selection } = editor
const [match] = Editor.nodes(editor, {
match: n => n.type === 'code',
})