oasis-editor 0.0.220 → 0.0.221
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-99a2k8kS.js → OasisEditorApp-CXBTtJuR.js} +1 -1
- package/dist/app/controllers/EditorCommandsController.d.ts +2 -2
- package/dist/core/commands/block.d.ts +2 -2
- package/dist/core/commands/builtinCommands.d.ts +1 -1
- package/dist/core/commands/publicCommandTypes.d.ts +3 -0
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/plugins/internal/essentialsCapabilities.d.ts +6 -0
- package/dist/ui/app/createAppCommandsController.d.ts +2 -2
- package/dist/ui/app/createEditorCommandRuntime.d.ts +1 -1
- package/package.json +1 -1
|
@@ -209,6 +209,12 @@ export interface EssentialsSectionCapability {
|
|
|
209
209
|
setOrientation: (orientation: "portrait" | "landscape") => void;
|
|
210
210
|
breakNextPage: () => void;
|
|
211
211
|
breakContinuous: () => void;
|
|
212
|
+
/** Insert a section break that begins the next section on an even page. */
|
|
213
|
+
breakEvenPage: () => void;
|
|
214
|
+
/** Insert a section break that begins the next section on an odd page. */
|
|
215
|
+
breakOddPage: () => void;
|
|
216
|
+
/** Insert a section break that begins the next section in a new column. */
|
|
217
|
+
breakNextColumn: () => void;
|
|
212
218
|
getMargins: () => EditorPageMargins | undefined;
|
|
213
219
|
setPageMargins: (margins: Partial<EditorPageMargins>) => void;
|
|
214
220
|
getPageNumbering: () => EditorPageNumbering | undefined;
|
|
@@ -50,7 +50,7 @@ declare function createAppCommandsControllerImpl(deps: AppCommandsControllerDeps
|
|
|
50
50
|
applyParagraphListCommand: (kind: NonNullable<import('../../core/model.js').EditorParagraphListStyle["kind"]>) => void;
|
|
51
51
|
handleListFormatChange: (format: import('../../core/model.js').EditorParagraphListStyle["format"]) => void;
|
|
52
52
|
handleListStartAtChange: (startAt: number | null) => void;
|
|
53
|
-
applyInsertSectionBreakCommand: (breakType:
|
|
53
|
+
applyInsertSectionBreakCommand: (breakType: import('../../core/model.js').EditorSectionBreakType) => void;
|
|
54
54
|
applyInsertPageBreakCommand: () => void;
|
|
55
55
|
canInsertFootnoteCommand: () => boolean;
|
|
56
56
|
applyInsertFootnoteCommand: () => void;
|
|
@@ -92,7 +92,7 @@ declare function createAppCommandsControllerImpl(deps: AppCommandsControllerDeps
|
|
|
92
92
|
applyParagraphListCommand: (kind: NonNullable<import('../../core/model.js').EditorParagraphListStyle["kind"]>) => void;
|
|
93
93
|
handleListFormatChange: (format: import('../../core/model.js').EditorParagraphListStyle["format"]) => void;
|
|
94
94
|
handleListStartAtChange: (startAt: number | null) => void;
|
|
95
|
-
applyInsertSectionBreakCommand: (breakType:
|
|
95
|
+
applyInsertSectionBreakCommand: (breakType: import('../../core/model.js').EditorSectionBreakType) => void;
|
|
96
96
|
applyInsertPageBreakCommand: () => void;
|
|
97
97
|
canInsertFootnoteCommand: () => boolean;
|
|
98
98
|
applyInsertFootnoteCommand: () => void;
|
|
@@ -85,7 +85,7 @@ declare function createEditorCommandRuntimeImpl(deps: EditorCommandRuntimeDeps):
|
|
|
85
85
|
applyParagraphListCommand: (kind: NonNullable<import('../../core/model.js').EditorParagraphListStyle["kind"]>) => void;
|
|
86
86
|
handleListFormatChange: (format: import('../../core/model.js').EditorParagraphListStyle["format"]) => void;
|
|
87
87
|
handleListStartAtChange: (startAt: number | null) => void;
|
|
88
|
-
applyInsertSectionBreakCommand: (breakType:
|
|
88
|
+
applyInsertSectionBreakCommand: (breakType: import('../../core/model.js').EditorSectionBreakType) => void;
|
|
89
89
|
applyInsertPageBreakCommand: () => void;
|
|
90
90
|
canInsertFootnoteCommand: () => boolean;
|
|
91
91
|
applyInsertFootnoteCommand: () => void;
|