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: remove .replaceAll usage to support older Android 9 devices
Abdullah Atta6d2097259b6a
diff --git a/packages/editor/src/utils/font.ts b/packages/editor/src/utils/font.tsindex 12dee0ec4..8079003cd 100644--- a/packages/editor/src/utils/font.ts+++ b/packages/editor/src/utils/font.ts@@ -56,9 +56,5 @@ export function getFontIds() {}function normalizeFontFamily(fontFamily: string) {- return fontFamily- .replace(/['"]+/g, "")- .replaceAll(", ", ",")- .replaceAll(",", "")- .replace(/\s+/g, "");+ return fontFamily.replace(/['",\s]+/g, "");}