Просмотр исходного кода

Don't show OptionsSelector in CommentEditor again

Tatsunori Uchino 5 лет назад
Родитель
Сommit
51ea1208a2
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      src/client/js/components/PageComment/CommentEditor.jsx

+ 4 - 2
src/client/js/components/PageComment/CommentEditor.jsx

@@ -22,7 +22,6 @@ import SlackNotification from '../SlackNotification';
 import CommentPreview from './CommentPreview';
 import NotAvailableForGuest from '../NotAvailableForGuest';
 import { CustomNavTab } from '../CustomNavigation/CustomNav';
-import OptionsSelector from '../PageEditor/OptionsSelector';
 
 
 const navTabMapping = {
@@ -316,7 +315,10 @@ class CommentEditor extends React.Component {
                 onUpload={this.uploadHandler}
                 onCtrlEnter={this.ctrlEnterHandler}
               />
-              <OptionsSelector />
+              {/*
+                Note: <OptionsSelector /> is not optimized for ComentEditor in terms of responsive design.
+                See a review comment in https://github.com/weseek/growi/pull/3473
+              */}
             </TabPane>
             <TabPane tabId="comment_preview">
               <div className="comment-form-preview">