Fix to update last message on the initial load

This commit is contained in:
iliajie
2023-06-17 23:37:43 +03:00
parent 8d330a95de
commit 081dfbe373

View File

@ -371,6 +371,7 @@ my $html_editor_init_script =
// Update editor on initial load
editor.pasteHTML(targ.value);
sessionStorage.setItem('$module_name/quill=last-message', targ.value);
}
@{[$opts->{'load'} ? "fn_${module_name}_html_editor_init()" : '']}
</script>