|
@@ -271,7 +271,7 @@ export const CommentEditor = (props: CommentEditorProps): JSX.Element => {
|
|
|
<TabPane tabId="comment_editor">
|
|
<TabPane tabId="comment_editor">
|
|
|
<Editor
|
|
<Editor
|
|
|
ref={editorRef}
|
|
ref={editorRef}
|
|
|
- value={comment}
|
|
|
|
|
|
|
+ value={commentBody ?? ''} // DO NOT use state
|
|
|
isUploadable={isUploadable}
|
|
isUploadable={isUploadable}
|
|
|
isUploadableFile={isUploadableFile}
|
|
isUploadableFile={isUploadableFile}
|
|
|
onChange={onChangeHandler}
|
|
onChange={onChangeHandler}
|