{"id":148799,"date":"2023-09-11T11:40:01","date_gmt":"2023-09-11T11:40:01","guid":{"rendered":"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/packages\/packages-undo-manager\/"},"modified":"2024-10-30T17:09:42","modified_gmt":"2024-10-30T17:09:42","slug":"packages-undo-manager","status":"publish","type":"blocks-handbook","link":"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/packages\/packages-undo-manager\/","title":{"rendered":"@wordpress\/undo-manager"},"content":{"rendered":"
A simple undo manager.<\/p>\n
Install the module<\/p>\n
npm install @wordpress\/undo-manager --save\n<\/code><\/pre>\nAPI<\/h2>\n
<\/p>\n
createUndoManager<\/h3>\n
Creates an undo manager.<\/p>\n
Returns<\/em><\/p>\n\nUndoManager<\/code>: Undo manager.<\/li>\n<\/ul>\n<\/p>\n
Contributing to this package<\/h2>\n
This is an individual package that’s part of the Gutenberg project. The project is organized as a monorepo. It’s made up of multiple self-contained software packages, each with a specific purpose. The packages in this monorepo are published to npm<\/a> and used by WordPress<\/a> as well as other software projects.<\/p>\n