Merge pull request #1499 from ijaz-saeed/rich-text-editor

OnInitialized is not the right method to do this, Content is not set yet
This commit is contained in:
Shaun Walker 2021-06-23 12:58:25 -04:00 committed by GitHub
commit 4ea92652dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,6 +143,8 @@
await interop.LoadEditorContent(_editorElement, Content);
_content = Content; // raw HTML
// preserve a copy of the rich text content ( Quill sanitizes content so we need to retrieve it from the editor )
_original = await interop.GetHtml(_editorElement);
}