@kolkov/angular-editor 3.1.1 → 3.1.2

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
@@ -1,3 +1,14 @@
1
+ <a name="3.1.2"></a>
2
+ ## [3.1.2](https://github.com/kolkov/angular-editor/compare/v3.1.1...v3.1.2) (2026-09-28)
3
+
4
+ ### Bug Fixes
5
+ * **toolbar:** fix TypeError when `triggerButtons()` attempts to toggle active class on hidden buttons removed from DOM by `@if` — skip hidden buttons via `isButtonHidden()` guard and add null safety check for `getElementById()`
6
+
7
+ ### Docs
8
+ * **readme:** fix Angular version compatibility — clarify that v3.1.x supports Angular 20, 21, and 22 (not just 22)
9
+
10
+ ---
11
+
1
12
  <a name="3.1.1"></a>
2
13
  ## [3.1.1](https://github.com/kolkov/angular-editor/compare/v3.1.0...v3.1.1) (2026-09-24)
3
14
 
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
13
13
  [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/AndreyKolkov)
14
14
 
15
- A simple native WYSIWYG/Rich Text editor for Angular 22+
15
+ A simple native WYSIWYG/Rich Text editor for Angular 20+
16
16
 
17
17
  ![Nov-27-2019 17-26-29](https://user-images.githubusercontent.com/216412/69763434-259cd800-113b-11ea-918f-0565ebce0e48.gif)
18
18
 
@@ -30,9 +30,9 @@ Install via [npm][npm] package manager
30
30
  npm install @kolkov/angular-editor --save
31
31
  ```
32
32
  ### Versions
33
- 3.1.0 and above - for Angular v22+ (CSS variables, Vitest testing)
33
+ 3.1.x - for Angular v20, v21, v22 (CSS variables, SVG icons, Vitest testing)
34
34
 
35
- 3.0.0 and above - for Angular v20+ (CSS variables, modern Angular 20)
35
+ 3.0.x - for Angular v20, v21 (CSS variables, modern Angular)
36
36
 
37
37
  2.0.0 and above - for Angular v13-19
38
38
 
@@ -42,10 +42,10 @@ npm install @kolkov/angular-editor --save
42
42
 
43
43
  0.15.x - for Angular v6.x.x
44
44
 
45
- **Note:** Version 3.1.0 requires:
46
- - Angular 22.0.0 or higher
45
+ **Note:** Version 3.1.x requires:
46
+ - Angular 20.0.0 or higher (supports 20, 21, and 22)
47
47
  - RxJS 7.8.0 or higher
48
- - TypeScript 6.0 or higher
48
+ - TypeScript 5.6+ (Angular 20/21) or 6.0+ (Angular 22)
49
49
 
50
50
  Attention! `alpha` and `beta` versions may contain breaking changes.
51
51