|
@@ -55,7 +55,6 @@ class CommentEditor extends React.Component {
|
|
|
this.postHandler = this.postHandler.bind(this);
|
|
this.postHandler = this.postHandler.bind(this);
|
|
|
this.uploadHandler = this.uploadHandler.bind(this);
|
|
this.uploadHandler = this.uploadHandler.bind(this);
|
|
|
|
|
|
|
|
- this.toggleEditor = this.toggleEditor.bind(this);
|
|
|
|
|
this.renderHtml = this.renderHtml.bind(this);
|
|
this.renderHtml = this.renderHtml.bind(this);
|
|
|
this.handleSelect = this.handleSelect.bind(this);
|
|
this.handleSelect = this.handleSelect.bind(this);
|
|
|
this.onSlackEnabledFlagChange = this.onSlackEnabledFlagChange.bind(this);
|
|
this.onSlackEnabledFlagChange = this.onSlackEnabledFlagChange.bind(this);
|
|
@@ -181,14 +180,6 @@ class CommentEditor extends React.Component {
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- toggleEditor() {
|
|
|
|
|
- this.setState((prevState) => {
|
|
|
|
|
- return {
|
|
|
|
|
- showCommentEditor: !prevState.showCommentEditor,
|
|
|
|
|
- };
|
|
|
|
|
- });
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
renderHtml(markdown) {
|
|
renderHtml(markdown) {
|
|
|
const context = {
|
|
const context = {
|
|
|
markdown,
|
|
markdown,
|