{\r
// Save the undo snapshot after all document changes are affected. (#4889)\r
setTimeout( function ()\r
{\r
editor.fire( 'afterCommandExec',\r
{\r
{\r
// Save the undo snapshot after all document changes are affected. (#4889)\r
setTimeout( function ()\r
{\r
editor.fire( 'afterCommandExec',\r
{\r