mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 22:36:14 +08:00
fix: improve JSONContent type to allow pure JSON content
This commit is contained in:
parent
9247fcb6cf
commit
ce7f52a8f0
@ -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?: {
|
||||
|
Loading…
Reference in New Issue
Block a user