oasis-editor 0.0.215 → 0.0.216
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-9IGIDxRP.js → OasisEditorApp-z4XAN0Fg.js} +1 -1
- package/dist/core/commands/builtinCommands.d.ts +1 -1
- package/dist/core/commands/pageNumber.d.ts +17 -0
- package/dist/core/commands/publicCommandTypes.d.ts +5 -0
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/plugins/internal/essentialsCapabilities.d.ts +7 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { EditorDocumentDesign, EditorImageBorder, EditorPageBorder, EditorPageMargins, EditorWatermark, EditorMathExpression } from '../../core/model.js';
|
|
1
|
+
import { EditorDocumentDesign, EditorImageBorder, EditorPageBorder, EditorPageMargins, EditorPageNumbering, EditorWatermark, EditorMathExpression } from '../../core/model.js';
|
|
2
|
+
import { SectionPageNumberFormat } from '../../core/commands/pageNumber.js';
|
|
2
3
|
import { DesignThemeId } from '../../core/commands/design.js';
|
|
3
4
|
import { ImageBorderPatch } from '../../core/commands/image.js';
|
|
4
5
|
import { TextCaseMode } from '../../core/commands/text.js';
|
|
@@ -209,6 +210,11 @@ export interface EssentialsSectionCapability {
|
|
|
209
210
|
breakContinuous: () => void;
|
|
210
211
|
getMargins: () => EditorPageMargins | undefined;
|
|
211
212
|
setPageMargins: (margins: Partial<EditorPageMargins>) => void;
|
|
213
|
+
getPageNumbering: () => EditorPageNumbering | undefined;
|
|
214
|
+
setPageNumbering: (numbering: {
|
|
215
|
+
start?: number;
|
|
216
|
+
format?: SectionPageNumberFormat;
|
|
217
|
+
}) => void;
|
|
212
218
|
}
|
|
213
219
|
export interface EssentialsHeaderFooterCapability {
|
|
214
220
|
/** Enter header editing for the active section's default header. */
|