From cd39e1ea523b75fc9d2b2977a4371bfc7ee4a0af Mon Sep 17 00:00:00 2001 From: Nulo Date: Tue, 5 Sep 2023 19:08:38 -0300 Subject: [PATCH] fix: arreglar parseo de internal links --- src/editor/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ) ) {