build: 提交 dist 构建产物(v0.4.2 完整 5 格式 + sourcemap + 类型声明)
CI / test-parser (push) Successful in 9m47s
CI / test-core (push) Successful in 12m44s
CI / test-rest (push) Failing after 31s
CI / e2e (push) Successful in 9m45s
CI / verify (18.x) (push) Successful in 9m54s
CI / verify (20.x) (push) Failing after 11s
CI / verify (24.x) (push) Successful in 10m11s
CI / test-parser (push) Successful in 9m47s
CI / test-core (push) Successful in 12m44s
CI / test-rest (push) Failing after 31s
CI / e2e (push) Successful in 9m45s
CI / verify (18.x) (push) Successful in 9m54s
CI / verify (20.x) (push) Failing after 11s
CI / verify (24.x) (push) Successful in 10m11s
This commit is contained in:
Vendored
+5
-1
@@ -12,6 +12,7 @@ interface EditorLike {
|
||||
el: HTMLElement;
|
||||
textarea: HTMLTextAreaElement;
|
||||
config?: Record<string, any>;
|
||||
t?: (key: string, params?: Record<string, any>) => string;
|
||||
on?: (name: string, fn: (...args: any[]) => void) => (() => void) | void;
|
||||
off?: (name: string, fn: (...args: any[]) => void) => unknown;
|
||||
_emit?: (name: string, ...args: any[]) => void;
|
||||
@@ -422,6 +423,9 @@ declare class MarkdownEditor {
|
||||
toggleWordWrap(): this;
|
||||
setWordWrap(on: boolean): this;
|
||||
isWordWrap(): boolean;
|
||||
/** 运行时开关大纲面板(公开 API,替代直接操作 config/_buildOutline 的私有用法) */
|
||||
setOutline(on: boolean): this;
|
||||
isOutline(): boolean;
|
||||
_bindToolbarKeyboard(): void;
|
||||
_initAriaLive(): void;
|
||||
_announce(msg: string): void;
|
||||
@@ -581,7 +585,7 @@ declare const animationUtils: {
|
||||
destroy(): void;
|
||||
};
|
||||
|
||||
declare const VERSION = "0.4.1";
|
||||
declare const VERSION = "0.4.2";
|
||||
declare function create(container: string | HTMLElement, options?: EditorOptions): MarkdownEditor;
|
||||
declare function use(plugin: string | any, options?: any): typeof api;
|
||||
declare function on(name: string, fn: (editor: MarkdownEditor) => void): () => void;
|
||||
|
||||
Reference in New Issue
Block a user