|
|
@@ -145,9 +145,9 @@ export default class CommentForm extends React.Component {
|
|
|
<div className="comment-write">
|
|
|
<Tabs activeKey={this.state.key} id="comment-form-tabs" onSelect={this.handleSelect} animation={false}>
|
|
|
<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> */}
|
|
|
- <CommentEditor
|
|
|
+ <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>
|
|
|
+ {/* <CommentEditor
|
|
|
// ref="editor"
|
|
|
// value={this.state.markdown}
|
|
|
// editorOptions={this.state.editorOptions}
|
|
|
@@ -160,7 +160,7 @@ export default class CommentForm extends React.Component {
|
|
|
// onChange={this.onMarkdownChanged}
|
|
|
// onSave={this.onSave}
|
|
|
// onUpload={this.onUpload}
|
|
|
- />
|
|
|
+ /> */}
|
|
|
</Tab>
|
|
|
{ this.state.isMarkdown == true &&
|
|
|
<Tab eventKey={2} title="Preview">
|