OnInitialized is not the right method to do this, Content is not available yet
This commit is contained in:
parent
3274ab6258
commit
73f2fc4f13
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user