@umbraco-cms/backoffice
Preparing search index...
packages/tiptap
JSONContent
Type Alias JSONContent
Loosely describes a JSON representation of a Prosemirror document or node
type
JSONContent
=
{
attrs
?:
Record
<
string
,
any
>
;
content
?:
JSONContent
[]
;
marks
?:
{
attrs
?:
Record
<
string
,
any
>
;
type
:
string
;
[
key
:
string
]:
any
}
[]
;
text
?:
string
;
type
?:
string
;
[
key
:
string
]:
any
;
}
Indexable
[
key
:
string
]:
any
Index
Properties
attrs?
content?
marks?
text?
type?
Properties
Optional
attrs
attrs
?:
Record
<
string
,
any
>
Optional
content
content
?:
JSONContent
[]
Optional
marks
marks
?:
{
attrs
?:
Record
<
string
,
any
>
;
type
:
string
;
[
key
:
string
]:
any
}
[]
Optional
text
text
?:
string
Optional
type
type
?:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
attrs
content
marks
text
type
@umbraco-cms/backoffice
Loading...
Loosely describes a JSON representation of a Prosemirror document or node