1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-03-20 20:55:18 +02:00

Set default options

This commit is contained in:
Laurent Cozic 2021-09-19 18:54:14 +01:00
parent d850eedd78
commit 542fdb496a

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({}, {