extension-blockquote
package @remirror/extension-blockquote
class BlockquoteExtension
Add the blockquote block to the editor.
Signature:
export declare class BlockquoteExtension extends NodeExtension
Extends: NodeExtension
(Some inherited members may not be shown because they are not represented in the documentation.)
property name
Signature:
get name(): "blockquote";
method createInputRules
Signature:
createInputRules(): InputRule[];
Returns:
InputRule[]
method createNodeSpec
Signature:
createNodeSpec(extra: ApplySchemaAttributes, override: NodeSpecOverride): NodeExtensionSpec;
Parameters:
Parameter | Type | Description |
---|---|---|
extra | ApplySchemaAttributes | |
override | NodeSpecOverride |
Returns:
method createPasteRules
Signature:
createPasteRules(): PasteRule;
Returns:
method createTags
Signature:
createTags(): ("formattingNode" | "block")[];
Returns:
("formattingNode" | "block")[]
method shortcut
Signature:
shortcut(props: KeyBindingProps): boolean;
Parameters:
Parameter | Type | Description |
---|---|---|
props | KeyBindingProps |
Returns:
boolean
method toggleBlockquote
Toggle the blockquote for the current block.
If none exists one will be created or the existing blockquote content will be lifted out of the blockquote node.
commands.toggleBlockquote();
Signature:
toggleBlockquote(): CommandFunction;
Returns:
CommandFunction