Paragraph
A plain paragraph textblock. Represented in the DOM as a <p>
element.
. editor const editor: Editor<BasicExtension>
. commands
Editor<BasicExtension>.commands: ToCommandAction<{ setParagraph: []; setHeading: [attrs?: HeadingAttrs | undefined]; insertHeading: [attrs?: HeadingAttrs | undefined]; ... 58 more ...; redo: []; }>
All {@link CommandAction } s defined by the editor.() setParagraph
setParagraph: CommandAction () => boolean
Execute the current command. Return `true` if the command was successfully executed, otherwise `false`.
Non-Apple | Apple | Description |
---|---|---|
Ctrl-Alt-0 | Command-Option-0 | Set the current textblock to a paragraph |