OnInitialized is not the right method to do this, Content is not available yet

This commit is contained in:
isaeed 2021-06-20 17:51:25 +05:00
parent 3274ab6258
commit 73f2fc4f13

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);
}