fix: improve JSONContent type to allow pure JSON content

This commit is contained in:
Philipp Kühn 2021-11-03 21:11:24 +01:00
parent 9247fcb6cf
commit ce7f52a8f0

View File

@ -88,7 +88,7 @@ export interface EditorOptions {
export type HTMLContent = string
export type JSONContent = {
type: string,
type?: string,
attrs?: Record<string, any>,
content?: JSONContent[],
marks?: {