Set default options

pull/5491/head
Laurent Cozic 2021-09-19 18:54:14 +01:00
parent d850eedd78
commit 542fdb496a
1 changed files with 5 additions and 0 deletions

View File

@ -152,6 +152,11 @@ function NoteEditor(props: NoteEditorProps) {
});
const allAssets = useCallback(async (markupLanguage: number, options: AllAssetsOptions = null): Promise<any[]> => {
options = {
contentMaxWidthTarget: '',
...options,
};
const theme = themeStyle(props.themeId);
const markupToHtml = markupLanguageUtils.newMarkupToHtml({}, {