oasis-editor 0.0.291 → 0.0.293

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.
@@ -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
  }