Update TinyMCE.tsx

pull/3305/head
Laurent Cozic 2020-06-02 22:35:05 +01:00 committed by GitHub
parent 710026c8ac
commit 3bb9d2efd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

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;