@ones-editor/editor 2.9.8-beta.2 → 2.9.8-beta.21

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.
@@ -69,9 +69,14 @@ export interface CommandBarOptions {
69
69
  beforeClose?: (event?: MouseEvent | TouchEvent) => boolean;
70
70
  showName?: boolean;
71
71
  maxWidth?: number | string;
72
+ appendTo?: Element;
72
73
  }
73
74
  export type CreateManualCommandBarFunction = (parentItem: CommandItem, closeable: Closeable, options?: CommandBarOptions) => AbstractManualCommandBar;
74
75
  export type PopoverOptions = {
75
76
  overflowBoundary?: Element;
77
+ appendTo?: Element;
78
+ };
79
+ export type ObjectToolbarOptions = {
80
+ appendTo?: Element;
76
81
  };
77
82
  export type SelectItemFrom = 'event' | 'manual';
@@ -7,6 +7,7 @@ export default class HistoryDoc extends EventCallbacks<OnesEditorDocCallbacks> i
7
7
  beginBatchUpdate(): number;
8
8
  endBatchUpdate(): number;
9
9
  toJSON(): DocObject;
10
+ applyingOps(): boolean;
10
11
  getContainerBlocks(containerId: string): DocBlock[];
11
12
  findContainerBlocks(containerId: string): DocBlock[];
12
13
  getBlockData(containerId: string, blockIndex: number): DocBlock;
package/dist/index.d.ts CHANGED
@@ -46,6 +46,7 @@ export { ShareDBDocVersionsProvider, OnesEditorIcons, isLayoutBlock, LayoutQuick
46
46
  export type { FileBoxData, FileEmbedData } from '../@ones-editor/file';
47
47
  export * from './helper';
48
48
  export { OnesEditorComments, OnesEditorCommentsRender } from '../@ones-editor/comments';
49
+ export * from '../@ones-editor/cke-html';
49
50
  export { type DocListBlock } from '../@ones-editor/list-block';
50
51
  export declare function getDefaultOnesEditorOptions(options: CreateOnesEditorOptions): {
51
52
  id: string | undefined;