oasis-editor 0.0.291 → 0.0.292
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{OasisEditorApp-BfuipVgy.js → OasisEditorApp-orH6rbsq.js} +1 -1
- package/dist/app/controllers/EditorCommandsController.d.ts +6 -0
- package/dist/core/pluginUiTypes.d.ts +5 -0
- package/dist/defaultToolbar-Bdf52tPa.js +1 -0
- package/dist/oasis-editor.css +1 -1
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/ui/app/createAppCommandsController.d.ts +16 -0
- package/dist/ui/app/createEditorCommandRuntime.d.ts +12 -0
- package/dist/ui/app/dialogInitialValues.d.ts +13 -0
- package/dist/ui/components/Toolbar/ribbon/ribbonModel.d.ts +8 -1
- package/package.json +1 -1
- package/dist/defaultToolbar-tAe9t4j8.js +0 -1
|
@@ -13,6 +13,8 @@ export interface EditorCommandsControllerDeps extends EditorTransactionPort, Foc
|
|
|
13
13
|
openLinkDialog: (initialHref: string) => void;
|
|
14
14
|
openImageAltDialog: (initialAlt: string) => void;
|
|
15
15
|
openImageCaptionDialog: (initialCaption: string) => void;
|
|
16
|
+
openFontDialog: () => void;
|
|
17
|
+
openParagraphDialog: () => void;
|
|
16
18
|
imageCaptionLabel: () => string;
|
|
17
19
|
}
|
|
18
20
|
export declare function createEditorCommandsController(deps: EditorCommandsControllerDeps): ReturnType<typeof createEditorCommandsControllerImpl>;
|
|
@@ -43,6 +45,10 @@ declare function createEditorCommandsControllerImpl(deps: EditorCommandsControll
|
|
|
43
45
|
applyRejectAllRevisionsCommand: () => void;
|
|
44
46
|
applyLinkCommand: (href: string | null) => void;
|
|
45
47
|
promptForLink: () => void;
|
|
48
|
+
openFontDialog: () => void;
|
|
49
|
+
openParagraphDialog: () => void;
|
|
50
|
+
openStylesDialog: () => void;
|
|
51
|
+
openPageSetupDialog: () => void;
|
|
46
52
|
removeLinkCommand: () => void;
|
|
47
53
|
applyImageAltCommand: (alt: string) => void;
|
|
48
54
|
promptForImageAlt: () => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CommandRef } from './commands/CommandRef.js';
|
|
1
2
|
export declare const RIBBON_TABS: readonly ["file", "home", "insert", "design", "draw", "layout", "references", "review", "collaboration", "protection", "view", "tableDesign", "tableLayout", "imageFormat", "plugins", "ai"];
|
|
2
3
|
export type RibbonTabId = (typeof RIBBON_TABS)[number];
|
|
3
4
|
/**
|
|
@@ -24,4 +25,8 @@ export interface RibbonGroupResizePolicy {
|
|
|
24
25
|
collapsedMinWidth?: number;
|
|
25
26
|
collapsedIcon?: string;
|
|
26
27
|
compactLabels?: "show" | "hide";
|
|
28
|
+
/** Dialog launcher: command to execute when the group launcher is clicked. */
|
|
29
|
+
launcher?: CommandRef;
|
|
30
|
+
/** Launcher tooltip/label (defaults to group label + " options"). */
|
|
31
|
+
launcherTooltip?: string;
|
|
27
32
|
}
|