Skip to content

Interface: TransactionScope ​

Handle passed to editor.transaction(); every command joins one undo step.

Methods ​

run() ​

ts
run(command): boolean;

Run a command inside the transaction. Returns false when it does not apply; later calls then do nothing.

Parameters ​

ParameterType
commandCommand

Returns ​

boolean