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
fix: inline code cannot be styled (fixes streetwriters/notesnook#750)
thecodrr723f137fbe5d
diff --git a/packages/editor/src/index.ts b/packages/editor/src/index.tsindex 3d189ce6b..bd907c86b 100644--- a/packages/editor/src/index.ts+++ b/packages/editor/src/index.ts@@ -51,6 +51,7 @@ import { usePermissionHandler } from "./hooks/use-permission-handler";import { Highlight } from "./extensions/highlight";import { Paragraph } from "./extensions/paragraph";import { ClipboardTextSerializer } from "./extensions/clipboard-text-serializer";+import { Code } from "@tiptap/extension-code";const CoreExtensions = Object.entries(TiptapCoreExtensions)// we will implement our own customized clipboard serializer@@ -108,6 +109,7 @@ const useTiptap = (doubleSpaced: doubleSpacedLines,}),StarterKit.configure({+ code: false,dropcursor: false,codeBlock: false,listItem: false,@@ -164,6 +166,7 @@ const useTiptap = (OutlineListItem,OutlineList,ListItem,+ Code.extend({ excludes: "" }),Codemark,MathInline,MathBlock,