@ones-editor/editor 1.1.0-beta.2 → 1.1.0-beta.4

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.
@@ -438,6 +438,7 @@ export type OnesEditorCustomCreator = (editor: OnesEditor) => OnesEditorCustom;
438
438
  export interface CloneBlockResultInfo {
439
439
  containerIdMap: Map<string, string>;
440
440
  blockIdMap: Map<string, string>;
441
+ boxIdMap: Map<string, string>;
441
442
  }
442
443
  export interface OnesEditorDomEvents extends OnesEditorCustom {
443
444
  addEventListener: <T = Event>(element: Element | Document | Window, eventName: string, eventHandler: (editor: OnesEditor, event: T) => void) => void;
@@ -4,4 +4,5 @@ import { StatusBoxData } from '../types';
4
4
  export declare class CreateStatusTag {
5
5
  static tagRef: Map<string, OverflowTooltipTag>;
6
6
  static create(editor: OnesEditor, classes: string[], data: StatusBoxData, boxContent: BoxContentElement): OverflowTooltipTag | undefined;
7
+ static remove(id: string): void;
7
8
  }
@@ -14,4 +14,5 @@ export declare class OverflowTooltipTag {
14
14
  private unbindMutationObserver;
15
15
  rebind(root: HTMLElement): void;
16
16
  changeTag(title: string, classes: string[]): void;
17
+ destroy(): void;
17
18
  }
@@ -10,7 +10,7 @@ declare const _default: {
10
10
  green: string;
11
11
  blue: string;
12
12
  purple: string;
13
- gray: string;
13
+ grey: string;
14
14
  };
15
15
  colorDefaultTitle: {
16
16
  red: string;
@@ -18,7 +18,7 @@ declare const _default: {
18
18
  green: string;
19
19
  blue: string;
20
20
  purple: string;
21
- gray: string;
21
+ grey: string;
22
22
  };
23
23
  };
24
24
  };
@@ -10,7 +10,7 @@ declare const _default: {
10
10
  green: string;
11
11
  blue: string;
12
12
  purple: string;
13
- gray: string;
13
+ grey: string;
14
14
  };
15
15
  colorDefaultTitle: {
16
16
  red: string;
@@ -18,7 +18,7 @@ declare const _default: {
18
18
  green: string;
19
19
  blue: string;
20
20
  purple: string;
21
- gray: string;
21
+ grey: string;
22
22
  };
23
23
  };
24
24
  };
@@ -7,6 +7,7 @@ export declare class StatusBoxEditor {
7
7
  linkPopup: Popup | null;
8
8
  boxElement?: BoxElement;
9
9
  statusPalette: StatusPalette;
10
+ isEditing: boolean;
10
11
  constructor(editor: OnesEditor);
11
12
  editorStatus: (boxElement: BoxElement) => void;
12
13
  focus(): void;