Trevixal API
Preparing search index...
@trevixal/core
setBlockType
Function setBlockType
setBlockType
(
name
:
string
,
attrs
?:
Readonly
<
Record
<
string
,
unknown
>
>
)
:
Command
Change every textblock touched by the selection to the given type.
Parameters
name
:
string
Optional
attrs
:
Readonly
<
Record
<
string
,
unknown
>
>
Returns
Command
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Trevixal API
Loading...
Change every textblock touched by the selection to the given type.