react-native-cn-quill icon indicating copy to clipboard operation
react-native-cn-quill copied to clipboard

dangerouslyPasteHTML is not working at first instance

Open voowme opened this issue 3 years ago • 1 comments

I am trying to render HTML data from API and there is a situation where the screen may not have initial HTML. dangerouslyPasteHTML is not reflecting in editor window. But when I save my code in debug mode and screen refreshes, data is show in editor.

This is my code.

_editor.current.dangerouslyPasteHTML(0, diaryText[pageNum - 1].content);

where diaryText[pageNum - 1].content is the content to be rendered.

voowme avatar Jan 07 '22 13:01 voowme

Same issue. Trying to figure this one out

za01br avatar Sep 12 '22 17:09 za01br