diff --git a/src/components/LexicalEditor/plugins/AutoLinkPlugin.jsx b/src/components/LexicalEditor/plugins/AutoLinkPlugin.jsx index 3475c91..c7989b4 100644 --- a/src/components/LexicalEditor/plugins/AutoLinkPlugin.jsx +++ b/src/components/LexicalEditor/plugins/AutoLinkPlugin.jsx @@ -16,17 +16,17 @@ const MATCHERS = [ } ); }, - (text) => { - const match = EMAIL_MATCHER.exec(text); - return ( - match && { - index: match.index, - length: match[0].length, - text: match[0], - url: `mailto:${match[0]}` - } - ); - } + // (text) => { + // const match = EMAIL_MATCHER.exec(text); + // return ( + // match && { + // index: match.index, + // length: match[0].length, + // text: match[0], + // url: `mailto:${match[0]}` + // } + // ); + // } ]; export default function PlaygroundAutoLinkPlugin() {