@xuanmo/aieditor 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +98 -106
- package/dist/index.d.ts +0 -12
- package/dist/index.js +2390 -2437
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
@@ -47,7 +47,6 @@ export declare class AiEditor {
|
|
47
47
|
container: HTMLDivElement;
|
48
48
|
header: Header;
|
49
49
|
mainEl: HTMLDivElement;
|
50
|
-
footer: Footer;
|
51
50
|
options: AiEditorOptions;
|
52
51
|
eventComponents: AiEditorEventListener[];
|
53
52
|
constructor(_: AiEditorOptions);
|
@@ -307,17 +306,6 @@ declare type DefaultToolbarKey = (typeof defaultToolbarKeys)[number];
|
|
307
306
|
|
308
307
|
declare const defaultToolbarKeys: string[];
|
309
308
|
|
310
|
-
declare class Footer extends HTMLElement implements AiEditorEventListener {
|
311
|
-
count: number;
|
312
|
-
draggable: boolean;
|
313
|
-
constructor();
|
314
|
-
initDraggable(draggable?: boolean): void;
|
315
|
-
updateCharacters(): void;
|
316
|
-
onCreate(props: EditorEvents['create'], _: AiEditorOptions): void;
|
317
|
-
onTransaction(props: EditorEvents['transaction']): void;
|
318
|
-
onEditableChange(editable: boolean): void;
|
319
|
-
}
|
320
|
-
|
321
309
|
declare class Header extends HTMLElement implements AiEditorEventListener {
|
322
310
|
menuButtons: AbstractMenuButton[];
|
323
311
|
constructor();
|