fix: issue description empty state initial load in inbox and issue detail page (#3696)
* fix: updated description init loading and added loading confirmation alert in inbox issues, issue peek overview, and issue detail * fix: updated the space issue in the editor and removed unwanted props in the description-input for issues
This commit is contained in:
parent
17e5663e81
commit
bbbd7047d3
5 changed files with 80 additions and 35 deletions
|
|
@ -100,7 +100,7 @@ const RichTextEditor = ({
|
|||
});
|
||||
|
||||
React.useEffect(() => {
|
||||
if (editor && initialValue) editor.commands.setContent(initialValue);
|
||||
if (editor && initialValue && editor.getHTML() != initialValue) editor.commands.setContent(initialValue);
|
||||
}, [editor, initialValue]);
|
||||
|
||||
if (!editor) return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue