code: function () {
              var t = this,
                  prefix = t.o.prefix;
  
              if (t.o.autogrowOnEnter) {
                  t.autogrowOnEnterDontClose = !t.$box.hasClass(prefix + 'editor-hidden');
              }
  
              t.semanticCode(false, true);
  
              setTimeout(function () {
                  t.doc.activeElement.blur();
                  t.$box.toggleClass(prefix + 'editor-hidden ' + prefix + 'editor-visible');
                  t.$btnPane.toggleClass(prefix + 'disable');
                  $('.' + prefix + 'viewHTML-button', t.$btnPane).toggleClass(prefix + 'active');
                  if (t.$box.hasClass(prefix + 'editor-visible')) {
                      t.$ta.attr('tabindex', -1);
                  } else {
                      t.$ta.removeAttr('tabindex');
                  }
  
                  if (t.o.autogrowOnEnter && !t.autogrowOnEnterDontClose) {
                      t.autogrowEditorOnEnter();
                  }
              }, 0);
          }
docs: Function call when click on viewHTML button