@wangeditor-next/core 1.5.6 → 1.6.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.6.0](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/core@1.5.6...@wangeditor-next/core@1.6.0) (2024-08-11)
7
+
8
+
9
+ ### Features
10
+
11
+ * add cancel full screen ([1efee3f](https://github.com/cycleccc/wangEditor/commit/1efee3fa01664cf730718949db6a3cbce830b8f0))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.5.6](https://github.com/cycleccc/wangEditor/compare/@wangeditor-next/core@1.5.5...@wangeditor-next/core@1.5.6) (2024-08-03)
7
18
 
8
19
 
@@ -19,6 +19,8 @@ declare abstract class BaseButton implements IBarItem {
19
19
  abstract onButtonClick(): void;
20
20
  private setActive;
21
21
  private setDisabled;
22
+ private setIcon;
23
+ private setTooltip;
22
24
  changeMenuState(): void;
23
25
  }
24
26
  export default BaseButton;
@@ -3,4 +3,4 @@
3
3
  * @author wangfupeng
4
4
  */
5
5
  import { Dom7Array } from '../../utils/dom';
6
- export declare function addTooltip($button: Dom7Array, iconSvg: string, title: string, hotkey: string, inGroup?: boolean): void;
6
+ export declare function addTooltip($button: Dom7Array, iconSvg: string, title: string, hotkey?: string, inGroup?: boolean): void;
@@ -33,6 +33,8 @@ interface IBaseMenu {
33
33
  readonly tag: string;
34
34
  readonly width?: number;
35
35
  getValue: (editor: IDomEditor) => string | boolean;
36
+ getIcon?: (editor: IDomEditor) => string;
37
+ getTitle?: (editor: IDomEditor) => string;
36
38
  isActive: (editor: IDomEditor) => boolean;
37
39
  isDisabled: (editor: IDomEditor) => boolean;
38
40
  exec: (editor: IDomEditor, value: string | boolean) => void;