@witchcraft/editor
Github
Issues
npm
Preparing search index...
pm/features/Blocks/commands/changeItemType
changeItemType
Function changeItemType
changeItemType
(
__namedParameters
:
CommandNodeOptions
&
{
allowedValues
:
string
[]
;
attributeKey
:
string
;
}
&
{
allowedStates
:
StatefulNodeStates
;
stateAttributeKey
:
string
}
,
)
:
(
__namedParameters
:
{
state
?:
string
;
type
:
string
}
,
pos
?:
number
,
)
=>
Command
Parameters
__namedParameters
:
CommandNodeOptions
&
{
allowedValues
:
string
[]
;
attributeKey
:
string
}
&
{
allowedStates
:
StatefulNodeStates
;
stateAttributeKey
:
string
;
}
Returns
(
__namedParameters
:
{
state
?:
string
;
type
:
string
}
,
pos
?:
number
)
=>
Command
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
Issues
npm
@witchcraft/editor
Loading...