diff options
author | bobzel <zzzman@gmail.com> | 2025-05-10 00:01:39 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-05-10 00:01:39 -0400 |
commit | 534532aebbab49b00dc76ad6a0cf6c20368d818c (patch) | |
tree | ba18965b06bac095f12d83c6428b94fff9988829 /src/client/views/global/globalScripts.ts | |
parent | 299398cb7e21259de3bf7597995840b84e7e0590 (diff) |
added an imageTemplate ui button.
Diffstat (limited to 'src/client/views/global/globalScripts.ts')
-rw-r--r-- | src/client/views/global/globalScripts.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/views/global/globalScripts.ts b/src/client/views/global/globalScripts.ts index f4beb1004..cb3adae10 100644 --- a/src/client/views/global/globalScripts.ts +++ b/src/client/views/global/globalScripts.ts @@ -156,6 +156,11 @@ ScriptingGlobals.add(function setDefaultTemplate(checkResult?: boolean) { }); // toggle: Set overlay status of selected document // eslint-disable-next-line prefer-arrow-callback +ScriptingGlobals.add(function setDefaultImageTemplate(checkResult?: boolean) { + return DocumentView.setDefaultImageTemplate(checkResult); +}); +// toggle: Set overlay status of selected document +// eslint-disable-next-line prefer-arrow-callback ScriptingGlobals.add(function setHeaderColor(color?: string, checkResult?: boolean) { if (checkResult) { return DocumentView.Selected().length ? StrCast(DocumentView.SelectedDocs().lastElement().layout_headingColor) : Doc.SharingDoc()?.headingColor; |