Search
Preparing search index...
The search index is not available
prosemirror-replaceattrs
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
ReplaceAttrsStep
Class ReplaceAttrsStep<S>
Type parameters
S
:
Schema
Hierarchy
Step
<
S
>
ReplaceAttrsStep
Index
Constructors
constructor
Properties
at
attrs
Methods
apply
get
Map
invert
map
merge
toJSON
fromJSON
jsonID
Constructors
constructor
new
Replace
Attrs
Step
(
at
:
number
, attrs
:
any
)
:
ReplaceAttrsStep
Parameters
at:
number
attrs:
any
Returns
ReplaceAttrsStep
Properties
at
at
:
number
attrs
attrs
:
any
Methods
apply
apply
(
doc
:
Node
)
:
StepResult
<
any
>
Parameters
doc:
Node
Returns
StepResult
<
any
>
get
Map
get
Map
(
)
:
StepMap
Returns
StepMap
invert
invert
(
doc
:
Node
)
:
ReplaceAttrsStep
<
Schema
<
any
,
any
>
>
Parameters
doc:
Node
Returns
ReplaceAttrsStep
<
Schema
<
any
,
any
>
>
map
map
(
mapping
:
any
)
:
null
|
ReplaceAttrsStep
<
Schema
<
any
,
any
>
>
Parameters
mapping:
any
Returns
null
|
ReplaceAttrsStep
<
Schema
<
any
,
any
>
>
merge
merge
(
other
:
Step
)
:
Step
|
null
Parameters
other:
Step
Returns
Step
|
null
toJSON
toJSON
(
)
:
object
Returns
object
at
:
number
attrs
:
any
step
Type
:
string
Static
fromJSON
fromJSON
(
_schema
:
Schema
, json
:
any
)
:
ReplaceAttrsStep
<
Schema
<
any
,
any
>
>
Parameters
_schema:
Schema
json:
any
Returns
ReplaceAttrsStep
<
Schema
<
any
,
any
>
>
Static
jsonID
jsonID
(
id
:
string
, stepClass
:
object
)
:
void
Parameters
id:
string
stepClass:
object
constructor
:
function
new __type
(
args
:
any
[]
)
:
Step
Parameters
Rest
args:
any
[]
Returns
Step
Returns
void
Globals
Replace
Attrs
Step
constructor
at
attrs
apply
get
Map
invert
map
merge
toJSON
fromJSON
jsonID
Generated using
TypeDoc