Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.106/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