diff --git a/src/controllers/resize.js b/src/controllers/resize.js index 4f9b4b1..723811e 100644 --- a/src/controllers/resize.js +++ b/src/controllers/resize.js @@ -392,7 +392,7 @@ export function menuToolBarWidth() { if (JSON.stringify(showtoolbarConfig) !== '{}') { if(showtoolbarConfig.hasOwnProperty('undoRedo')){ config.undo = config.redo = showtoolbarConfig.undoRedo; - delete showtoolbarConfig.undoRedo; + // delete showtoolbarConfig.undoRedo; } Object.assign(config, showtoolbarConfig); diff --git a/src/controllers/toolbar.js b/src/controllers/toolbar.js index edbd095..13f4555 100644 --- a/src/controllers/toolbar.js +++ b/src/controllers/toolbar.js @@ -876,7 +876,7 @@ export function createToolbarHtml() { if (JSON.stringify(showtoolbarConfig) !== '{}') { if(showtoolbarConfig.hasOwnProperty('undoRedo')){ config.undo = config.redo = showtoolbarConfig.undoRedo; - delete showtoolbarConfig.undoRedo; + // delete showtoolbarConfig.undoRedo; } Object.assign(config, showtoolbarConfig); }