邮件取消邮件地址autolink

dev/emitter
Lei OT 10 months ago
parent 6205520872
commit 3a3eec3665

@ -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() {

Loading…
Cancel
Save