fix: add marks to JSONContent type
This commit is contained in:
@@ -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,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user