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: preserve font family in persisted selection
Abdullah Attaec898748b174
diff --git a/packages/editor/src/extensions/selection-persist/selection-persist.ts b/packages/editor/src/extensions/selection-persist/selection-persist.tsindex 52c06f6aa..5bca4feb9 100644--- a/packages/editor/src/extensions/selection-persist/selection-persist.ts+++ b/packages/editor/src/extensions/selection-persist/selection-persist.ts@@ -67,7 +67,8 @@ export const SelectionPersist = Extension.create({if (isBlurred) {return DecorationSet.create(tr.doc, [Decoration.inline(from, to, {- style: "background-color: var(--dimPrimary)"+ style:+ "background-color: var(--dimPrimary); font-family: inherit;"})]);} else if (isFocused) {