Skip to main content

redo

Description

Fires when pressing the "Redo" button in the menubar/toolbar or via Event Bus methods

Usage

"redo": () => boolean | void;
info

For handling inner events you can use Event Bus methods

Example

// initialize RichText
const editor = new richtext.Richtext("#root", {
// configuration properties
});
// subscribe to the "redo" event
editor.api.on("redo", () => {
console.log("Redo operation was performed");
});

Change log: The event was added in v2.0