From f829b45bf018aa769780a9987a1b2cdaaad8a44a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Tue, 18 May 2021 22:51:53 +0200 Subject: [PATCH] fix: add marks to JSONContent type --- packages/core/src/types.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index a8a7f665ca8..d97ec2912df 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -66,6 +66,11 @@ export type JSONContent = { type: string, attrs?: Record, content?: JSONContent[], + marks?: { + type: string, + attrs?: Record, + [key: string]: any, + }[], text?: string, [key: string]: any, }