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: {},