Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: fix insertParagraph keys Signed-off-by: 01zulfi <[email protected]>

01zulfif572bb163794
diff --git a/packages/editor/src/extensions/paragraph/paragraph.ts b/packages/editor/src/extensions/paragraph/paragraph.ts
index 3f0ecfe46..504595e3e 100644
--- a/packages/editor/src/extensions/paragraph/paragraph.ts
+++ b/packages/editor/src/extensions/paragraph/paragraph.ts
@@ -121,7 +121,7 @@ export const Paragraph = Node.create<ParagraphOptions>({
createParagraph(editor, this.type, false, true),
"Shift-Enter": ({ editor }) =>
createParagraph(editor, this.type, false, true),
- [keybindings.insertParapraph.keys]: () =>
+ [keybindings.insertParagraph.keys]: () =>
this.editor.commands.setParagraph()
};
}