Undo and redo in extrabar

This example shows how to add undo and redo buttons to the extrabar.

Code

<div id="entry-undo-redo-extrabar"></div>
const app = Redactor('#entry-undo-redo-extrabar', {
    buttons: {
        extrabar: ['undo', 'redo', 'hotkeys']
    }
});