prosekit/extensions/horizontal-rule
HorizontalRuleCommandsExtension
HorizontalRuleCommandsExtension:
Extension
<object
>
Type declaration
Name | Type |
---|---|
Commands | object |
Commands.insertHorizontalRule | [] |
HorizontalRuleExtension
HorizontalRuleExtension:
Union
<[HorizontalRuleSpecExtension
,HorizontalRuleCommandsExtension
]>
HorizontalRuleSpecExtension
HorizontalRuleSpecExtension:
Extension
<object
>
Type declaration
Name | Type |
---|---|
Nodes | object |
Nodes.horizontalRule | Attrs |
defineHorizontalRule()
defineHorizontalRule():
HorizontalRuleExtension
Returns
defineHorizontalRuleCommands()
defineHorizontalRuleCommands():
HorizontalRuleCommandsExtension
Returns
HorizontalRuleCommandsExtension
defineHorizontalRuleInputRule()
defineHorizontalRuleInputRule():
PlainExtension
Returns
PlainExtension
defineHorizontalRuleSpec()
defineHorizontalRuleSpec():
HorizontalRuleSpecExtension
Returns
insertHorizontalRule()
insertHorizontalRule():
Command
Returns a command that inserts a horizontal rule at the current selection.