Skip to content

Commit

Permalink
fix: add marks to JSONContent type
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed May 18, 2021
1 parent 6b154e4 commit f829b45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ export type JSONContent = {
type: string,
attrs?: Record<string, any>,
content?: JSONContent[],
marks?: {
type: string,
attrs?: Record<string, any>,
[key: string]: any,
}[],
text?: string,
[key: string]: any,
}
Expand Down

0 comments on commit f829b45

Please sign in to comment.