code: function doOperation(operation) {
          if (operation.ops.length > 0) {
              try {
                  $(exports).triggerHandler('beforeExecuteOperation', [operation]);
                  _applyOperation(operation);
                  if (operation.bypass !== true) {
                      _undoStack.push(operation);
                      _redoStack.clear();
                      $(exports).triggerHandler('operationExecuted', [operation]);
                  }
              } catch (err) {
                  console.error(err);
              }
          }
      }
docs: Do an Operation
  If operation.bypass == true, the operation will not be pushed to UndoStack.
  @param {Operation} operation