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:
guru_sainath 2024-02-19 15:43:57 +05:30 committed by GitHub
parent 17e5663e81
commit bbbd7047d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 80 additions and 35 deletions

View file

@ -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;