From 1b885d3710d42bab83389d48f193db46a6bc72ba Mon Sep 17 00:00:00 2001 From: Jared Pereira Date: Tue, 11 Nov 2025 00:08:26 -0500 Subject: [PATCH] add fallback mark --- components/Blocks/TextBlock/schema.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/Blocks/TextBlock/schema.ts b/components/Blocks/TextBlock/schema.ts index 24f018ce..c2c98833 100644 --- a/components/Blocks/TextBlock/schema.ts +++ b/components/Blocks/TextBlock/schema.ts @@ -83,6 +83,12 @@ let baseSchema = { ]; }, } as MarkSpec, + test: { + parseDom: [{ tag: "span" }], + toDOM() { + return ["span", { class: "bg-test" }, 0]; + }, + } as MarkSpec, link: { attrs: { href: {}, -- 2.51.2