diff --git a/docs/walkthroughs/04-applying-custom-formatting.md b/docs/walkthroughs/04-applying-custom-formatting.md index 5f5c32e3a..9d40d61e8 100644 --- a/docs/walkthroughs/04-applying-custom-formatting.md +++ b/docs/walkthroughs/04-applying-custom-formatting.md @@ -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', })