Skip to content

Commit

Permalink
build: v1.1.2 release (^.^)YYa!!
Browse files Browse the repository at this point in the history
  • Loading branch information
yangfuhai committed Sep 18, 2024
1 parent 2080f59 commit 1634030
Show file tree
Hide file tree
Showing 7 changed files with 799 additions and 796 deletions.
198 changes: 98 additions & 100 deletions dist/index.cjs

Large diffs are not rendered by default.

24 changes: 10 additions & 14 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export declare interface AiClientListener {
}

export declare class AiEditor {
private customLayout;
customLayout: boolean;
innerEditor: InnerEditor;
container: HTMLDivElement;
header: Header;
Expand All @@ -51,9 +51,10 @@ export declare class AiEditor {
eventComponents: AiEditorEvent[];
constructor(_: AiEditorOptions);
private initI18nAndInnerEditor;
private initInnerEditor;
private onCreate;
private onTransaction;
protected initInnerEditor(): void;
protected getExtensions(): Extensions;
protected onCreate(props: EditorEvents['create']): void;
protected onTransaction(transEvent: EditorEvents['transaction']): void;
getHtml(): string;
getJson(): JSONContent;
getText(): string;
Expand Down Expand Up @@ -163,6 +164,9 @@ export declare type AiEditorOptions = {
lineHeight?: {
values?: string[];
};
emoji?: {
values?: string[];
};
ai?: AiGlobalConfig;
};

Expand Down Expand Up @@ -281,17 +285,9 @@ export declare interface CustomMenu {
onCreate?: (button: HTMLElement, editor: AiEditor) => void;
}

export declare const dafaultAiMenus: AiMenu[];

export declare const defaultAiCommands: AiMenu[];

export declare const defaultAiPanelMenus: AIBubbleMenuItem[];

export declare const defaultMenus: string[];

export declare type DefaultToolbarKey = (typeof defaultToolbarKeys)[number];
declare type DefaultToolbarKey = (typeof defaultToolbarKeys)[number];

export declare const defaultToolbarKeys: string[];
declare const defaultToolbarKeys: string[];

declare class Footer extends HTMLElement implements AiEditorEvent {
count: number;
Expand Down
Loading

0 comments on commit 1634030

Please sign in to comment.