@umbraco-cms/backoffice
Preparing search index...
packages/tiptap
MarkView
Class MarkView<Component, Options>
Type Parameters
Component
Options
extends
MarkViewRendererOptions
=
MarkViewRendererOptions
Index
Constructors
constructor
Properties
component
editor
HTML
Attributes
mark
options
Accessors
content
DOM
dom
Methods
ignore
Mutation
update
Attributes
Constructors
constructor
new
MarkView
<
Component
,
Options
extends
MarkViewRendererOptions
=
MarkViewRendererOptions
,
>
(
component
:
Component
,
props
:
MarkViewProps
,
options
?:
Partial
<
Options
>
,
)
:
MarkView
<
Component
,
Options
>
Type Parameters
Component
Options
extends
MarkViewRendererOptions
=
MarkViewRendererOptions
Parameters
component
:
Component
props
:
MarkViewProps
Optional
options
:
Partial
<
Options
>
Returns
MarkView
<
Component
,
Options
>
Properties
component
component
:
Component
editor
editor
:
Editor
HTML
Attributes
HTMLAttributes
:
Record
<
string
,
any
>
mark
mark
:
Mark
options
options
:
Options
Accessors
content
DOM
get
contentDOM
()
:
null
|
HTMLElement
Returns
null
|
HTMLElement
dom
get
dom
()
:
HTMLElement
Returns
HTMLElement
Methods
ignore
Mutation
ignoreMutation
(
mutation
:
ViewMutationRecord
)
:
boolean
Parameters
mutation
:
ViewMutationRecord
Returns
boolean
update
Attributes
updateAttributes
(
attrs
:
Record
<
string
,
any
>
,
checkMark
?:
Mark
)
:
void
Update the attributes of the mark in the document.
Parameters
attrs
:
Record
<
string
,
any
>
The attributes to update.
Optional
checkMark
:
Mark
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
component
editor
HTML
Attributes
mark
options
Accessors
content
DOM
dom
Methods
ignore
Mutation
update
Attributes
@umbraco-cms/backoffice
Loading...
Update the attributes of the mark in the document.