code: function (cmd, ui, value) {
          var self = this, editor = self.get(value);
  
          // Manager commands
          switch (cmd) {
            case "mceAddEditor":
              if (!self.get(value)) {
                new Editor(value, self.settings, self).render();
              }
  
              return true;
  
            case "mceRemoveEditor":
              if (editor) {
                editor.remove();
              }
  
              return true;
  
            case 'mceToggleEditor':
              if (!editor) {
                self.execCommand('mceAddEditor', 0, value);
                return true;
              }
  
              if (editor.isHidden()) {
                editor.show();
              } else {
                editor.hide();
              }
  
              return true;
          }
  
          // Run command on active editor
          if (self.activeEditor) {
            return self.activeEditor.execCommand(cmd, ui, value);
          }
  
          return false;
        }
docs: Executes a specific command on the currently active editor.
  
  @method execCommand
  @param {String} cmd Command to perform for example Bold.
  @param {Boolean} ui Optional boolean state if a UI should be presented for the command or not.
  @param {String} value Optional value parameter like for example an URL to a link.
  @return {Boolean} true/false if the command was executed or not.