Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/deps/@tiptap/react.ts>CommandManager

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
class CommandManager
import { CommandManager } from "https://deno.land/x/netzo@0.5.70/deps/@tiptap/react.ts";

Constructors

new
CommandManager(props: { editor: Editor; state?: EditorState; })

Properties

readonly
can: () => CanCommands
readonly
chain: () => ChainedCommands
readonly
commands: SingleCommands
optional
customState: EditorState
editor: Editor
readonly
hasCustomState: boolean
rawCommands: AnyCommands
readonly
state: EditorState

Methods

buildProps(tr: Transaction, shouldDispatch?: boolean): CommandProps
createChain(startTr?: Transaction, shouldDispatch?: boolean): ChainedCommands