@ones-editor/editor 2.8.15 → 2.8.16-beta.2

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.
@@ -0,0 +1,6 @@
1
+ import { DocObject, OnesEditor, OnesEditorInputHandler } from '../../../@ones-editor/core';
2
+ export declare class ConvertLinkPasteHandler implements OnesEditorInputHandler {
3
+ order: number;
4
+ constructor();
5
+ handleBeforePasteDoc(editor: OnesEditor, doc: DocObject): Promise<boolean>;
6
+ }
@@ -1,4 +1,4 @@
1
- import { OnesEditor, OnesEditorDataConverter, OnesEditorDocs, PasteOptions } from '../../../@ones-editor/core';
1
+ import { OnesEditor, OnesEditorDataConverter, OnesEditorDocs } from '../../../@ones-editor/core';
2
2
  export declare class TextDataConverter implements OnesEditorDataConverter {
3
- fromData(editor: OnesEditor, data: DataTransfer, options?: PasteOptions): Promise<OnesEditorDocs | undefined>;
3
+ fromData(editor: OnesEditor, data: DataTransfer): Promise<OnesEditorDocs | undefined>;
4
4
  }
@@ -0,0 +1,3 @@
1
+ import { BlockElement, OnesEditor, SelectionRange } from '../../../../@ones-editor/core';
2
+ export declare function adjustColumnWidthsEvenly(editor: OnesEditor, block: BlockElement, range: SelectionRange): boolean;
3
+ export declare function canAdjustColumnWidthsEvenly(editor: OnesEditor, block: BlockElement, range: SelectionRange): boolean;
@@ -1,5 +1,5 @@
1
1
  import { CommandItem, BlockElement, CommandParams, CommandResult, OnesEditor, OnesEditorCommandProvider, SelectionRange } from '../../../../@ones-editor/core';
2
- declare const TableCommands: readonly ["table/merge-cells", "table/split-cell", "table/insert-column", "table/insert-row", "table/delete-rows", "table/delete-columns", "table/delete"];
2
+ declare const TableCommands: readonly ["table/merge-cells", "table/split-cell", "table/insert-column", "table/insert-row", "table/delete-rows", "table/delete-columns", "table/delete", "table/adjust-column-widths-evenly"];
3
3
  export type TableCommand = typeof TableCommands[number];
4
4
  export default class TableBlockCommandProvider implements OnesEditorCommandProvider {
5
5
  id: string;
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  splitCell: string;
8
8
  tableConfigKey: string;
9
9
  deleteTable: string;
10
+ adjustColumnWidthsEvenly: string;
10
11
  insertCol: string;
11
12
  insertRow: string;
12
13
  deleteCol: string;
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  splitCell: string;
8
8
  tableConfigKey: string;
9
9
  deleteTable: string;
10
+ adjustColumnWidthsEvenly: string;
10
11
  insertCol: string;
11
12
  insertRow: string;
12
13
  deleteCol: string;
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  splitCell: string;
8
8
  tableConfigKey: string;
9
9
  deleteTable: string;
10
+ adjustColumnWidthsEvenly: string;
10
11
  insertCol: string;
11
12
  insertRow: string;
12
13
  deleteCol: string;
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  toc: {
3
+ name: string;
3
4
  empty: string;
4
5
  };
5
6
  };
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  toc: {
3
+ name: string;
3
4
  empty: string;
4
5
  };
5
6
  };
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
2
  toc: {
3
+ name: string;
3
4
  empty: string;
4
5
  };
5
6
  };