diff --git a/src/editor/schema.ts b/src/editor/schema.ts index 9568d1f..06e25ea 100644 --- a/src/editor/schema.ts +++ b/src/editor/schema.ts @@ -314,7 +314,7 @@ export const schema = new Schema({ const href = dom.getAttribute("href"); if ( href && - /[useandom\-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict]{21}/.test( + /^[useandom\-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict]{21}$/.test( href, ) ) {