code: function (disable) {
              var t = this,
                  prefix = t.o.prefix;
  
              t.disabled = disable;
  
              if (disable) {
                  t.$ta.attr('disabled', true);
              } else {
                  t.$ta.removeAttr('disabled');
              }
              t.$box.toggleClass(prefix + 'disabled', disable);
              t.$ed.attr('contenteditable', !disable);
          }
docs: Disable editor