code: function changeButtonVisiblityStateIfNeed() {
      if (editor.mdPreviewStyle === 'vertical' && editor.currentMode === 'markdown') {
        button.$el.show();
        $divider.show();
      } else {
        button.$el.hide();
        $divider.hide();
      }
    }
docs: change button visiblity state