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: handle md links with parentheses (#3996)
Abdullah Atta4e6466fc18ff
diff --git a/packages/editor/src/extensions/link/link.ts b/packages/editor/src/extensions/link/link.tsindex 74ea2c5a8..272881999 100644--- a/packages/editor/src/extensions/link/link.ts+++ b/packages/editor/src/extensions/link/link.ts@@ -20,7 +20,7 @@ import { markInputRule, markPasteRule } from "@tiptap/core";import TiptapLink from "@tiptap/extension-link";const linkRegex = /(?:__|[*#])|\[(.*?)\]\(.*?\)/gm;-const regExp = /\((.*?)\)/gm;+const regExp = /(?:__|[*#])|\[.*?\]\((.*?)\)/gm;export const Link = TiptapLink.extend({addInputRules() {