Browse Source

clean code

yusuketk 7 years ago
parent
commit
0157d50e3b
1 changed files with 0 additions and 5 deletions
  1. 0 5
      resource/js/components/PageComment/CommentForm.js

+ 0 - 5
resource/js/components/PageComment/CommentForm.js

@@ -208,8 +208,6 @@ export default class CommentForm extends React.Component {
                 <div className="comment-write">
                 <div className="comment-write">
                   <Tabs activeKey={this.state.key} id="comment-form-tabs" onSelect={this.handleSelect} animation={false}>
                   <Tabs activeKey={this.state.key} id="comment-form-tabs" onSelect={this.handleSelect} animation={false}>
                     <Tab eventKey={1} title="Write">
                     <Tab eventKey={1} title="Write">
-                      {/* <textarea className="comment-form-comment form-control" id="comment-form-comment" name="comment" required placeholder="Write comments here..." value={this.state.comment} onChange={this.updateState} >
-                      </textarea> */}
                        <Editor ref="editor"
                        <Editor ref="editor"
                        value={this.state.comment}
                        value={this.state.comment}
                        editorOptions={editorOptions}
                        editorOptions={editorOptions}
@@ -217,10 +215,7 @@ export default class CommentForm extends React.Component {
                        isUploadable={this.state.isUploadable}
                        isUploadable={this.state.isUploadable}
                        isUploadableFile={this.state.isUploadableFile}
                        isUploadableFile={this.state.isUploadableFile}
                        emojiStrategy={emojiStrategy}
                        emojiStrategy={emojiStrategy}
-                       // onScroll={this.onEditorScroll}
-                       // onScrollCursorIntoView={this.onEditorScrollCursorIntoView}
                        onChange={this.updateState}
                        onChange={this.updateState}
-                       // onSave={this.onSave}
                        onUpload={this.onUpload}
                        onUpload={this.onUpload}
                       />
                       />
                     </Tab>
                     </Tab>