This example shows how to add Undo and Redo buttons to the right toolbar (extrabar) of the editor.
<!-- element -->
<textarea id="entry">...</textarea>
<!-- call -->
<script>
let app = Redactor('#entry', {
buttons: {
extrabar: ['undo', 'redo', 'hotkeys']
}
});
</script>