code: function () {
          var me = this;
  
          if (!me.wysiwygIntialized) {
              me.showEditor();
              return;
          }
  
          var ed = tinymce.get(me.getInputId());
  
          if (ed.isHidden()) {
              me.showEditor();
          }
          else {
              me.hideEditor();
          }
  
      }
docs: -----------------------------------------------------------------