A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
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.tsindex 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()};}