Skip to main content

JSONContent

@blockslides/core


@blockslides/core / JSONContent

Type Alias: JSONContent

JSONContent = object

Defined in: blockslides/packages/core/src/types.ts:493

Loosely describes a JSON representation of a Prosemirror document or node

Indexable

[key: string]: any

Properties

type?

optional type: string

Defined in: blockslides/packages/core/src/types.ts:494


attrs?

optional attrs: Record<string, any>

Defined in: blockslides/packages/core/src/types.ts:495


content?

optional content: JSONContent[]

Defined in: blockslides/packages/core/src/types.ts:496


marks?

optional marks: object[]

Defined in: blockslides/packages/core/src/types.ts:497

Index Signature

[key: string]: any

type

type: string

attrs?

optional attrs: Record<string, any>


text?

optional text: string

Defined in: blockslides/packages/core/src/types.ts:502