1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-13 22:12:50 +02:00

Update TinyMCE.tsx

This commit is contained in:
Laurent Cozic
2020-06-02 22:35:05 +01:00
committed by GitHub
parent 710026c8ac
commit 3bb9d2efd6

View File

@@ -765,8 +765,6 @@ const TinyMCE = (props:NoteBodyEditorProps, ref:any) => {
const loadContent = async () => {
if (lastOnChangeEventInfo.current.content !== props.content || lastOnChangeEventInfo.current.resourceInfos !== props.resourceInfos) {
console.info('RELOAD CONTENT');
const result = await props.markupToHtml(props.contentMarkupLanguage, props.content, markupRenderOptions({ resourceInfos: props.resourceInfos }));
if (cancelled) return;