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:
parent
d850eedd78
commit
542fdb496a
@ -152,6 +152,11 @@ function NoteEditor(props: NoteEditorProps) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const allAssets = useCallback(async (markupLanguage: number, options: AllAssetsOptions = null): Promise<any[]> => {
|
const allAssets = useCallback(async (markupLanguage: number, options: AllAssetsOptions = null): Promise<any[]> => {
|
||||||
|
options = {
|
||||||
|
contentMaxWidthTarget: '',
|
||||||
|
...options,
|
||||||
|
};
|
||||||
|
|
||||||
const theme = themeStyle(props.themeId);
|
const theme = themeStyle(props.themeId);
|
||||||
|
|
||||||
const markupToHtml = markupLanguageUtils.newMarkupToHtml({}, {
|
const markupToHtml = markupLanguageUtils.newMarkupToHtml({}, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user