weifuwu 0.81.2 → 0.81.3
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.
|
@@ -6,5 +6,6 @@ import type { FormatState, ToolbarItem } from './types.ts';
|
|
|
6
6
|
export declare function queryFormats(): FormatState;
|
|
7
7
|
/** 执行 execCommand(经 browser 环境抽象) */
|
|
8
8
|
export declare function exec(cmd: string, value?: string): void;
|
|
9
|
-
/**
|
|
9
|
+
/** 根据工具项执行格式化(formatBlock 类带 toggle:当前已是该块格式 → 回默认块——
|
|
10
|
+
* 真实浏览器验收发现 Chrome 对重复 formatBlock 同值不切换,标题/引用无法反选) */
|
|
10
11
|
export declare function execFormat(item: ToolbarItem): void;
|