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:
commit
4ea92652dd
@ -143,6 +143,8 @@
|
|||||||
|
|
||||||
await interop.LoadEditorContent(_editorElement, Content);
|
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 )
|
// 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);
|
_original = await interop.GetHtml(_editorElement);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user