@umbraco-cms/backoffice
Preparing search index...
packages/tiptap
NodeType
Type Alias NodeType<Type, TAttributes, NodeMarkType, TContent>
A node type is either a JSON representation of a node or a Prosemirror node instance
type
NodeType
<
Type
extends
string
|
{
name
:
string
}
=
any
,
TAttributes
extends
undefined
|
Record
<
string
,
any
>
=
any
,
NodeMarkType
extends
MarkType
=
any
,
TContent
extends
(
NodeType
|
TextType
)
[]
=
any
,
>
=
{
attrs
:
TAttributes
;
content
?:
TContent
;
marks
?:
NodeMarkType
[]
;
type
:
Type
;
}
Type Parameters
Type
extends
string
|
{
name
:
string
}
=
any
TAttributes
extends
undefined
|
Record
<
string
,
any
>
=
any
NodeMarkType
extends
MarkType
=
any
TContent
extends
(
NodeType
|
TextType
)
[]
=
any
Index
Properties
attrs
content?
marks?
type
Properties
attrs
attrs
:
TAttributes
Optional
content
content
?:
TContent
Optional
marks
marks
?:
NodeMarkType
[]
type
type
:
Type
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
attrs
content
marks
type
@umbraco-cms/backoffice
Loading...
A node type is either a JSON representation of a node or a Prosemirror node instance