fix: add marks to JSONContent type

This commit is contained in:
Philipp Kühn
2021-05-18 22:51:53 +02:00
parent 6b154e4c81
commit f829b45bf0

View File

@@ -66,6 +66,11 @@ export type JSONContent = {
type: string, type: string,
attrs?: Record<string, any>, attrs?: Record<string, any>,
content?: JSONContent[], content?: JSONContent[],
marks?: {
type: string,
attrs?: Record<string, any>,
[key: string]: any,
}[],
text?: string, text?: string,
[key: string]: any, [key: string]: any,
} }