mirror of https://github.com/laurent22/joplin.git
Set default options
parent
d850eedd78
commit
542fdb496a
|
@ -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({}, {
|
||||
|
|
Loading…
Reference in New Issue