@kolkov/angular-editor 3.1.0 → 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 +26 -0
- package/README.md +17 -6
- package/fesm2022/kolkov-angular-editor.mjs +1527 -1550
- package/fesm2022/kolkov-angular-editor.mjs.map +1 -1
- package/package.json +1 -1
- package/types/kolkov-angular-editor.d.ts +521 -434
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
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
|
+
|
|
12
|
+
<a name="3.1.1"></a>
|
|
13
|
+
## [3.1.1](https://github.com/kolkov/angular-editor/compare/v3.1.0...v3.1.1) (2026-09-24)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
* **toolbar:** use `@if` instead of `[hidden]` to remove hidden buttons from DOM ([#477](https://github.com/kolkov/angular-editor/issues/477)) ([#600](https://github.com/kolkov/angular-editor/pull/600))
|
|
17
|
+
- Hidden toolbar buttons are now completely removed from the DOM instead of being hidden with CSS
|
|
18
|
+
- Fixes duplicate ID conflicts when custom buttons reuse the same command names (e.g. bold, italic)
|
|
19
|
+
- Improves performance by not rendering unnecessary DOM elements
|
|
20
|
+
- Thanks to @moamenelbarky for the contribution
|
|
21
|
+
|
|
22
|
+
### Dependencies
|
|
23
|
+
* **deps:** bump zone.js from 0.15.1 to 0.16.2 ([#604](https://github.com/kolkov/angular-editor/pull/604))
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
1
27
|
<a name="3.1.0"></a>
|
|
2
28
|
## [3.1.0](https://github.com/kolkov/angular-editor/compare/v3.0.5...v3.1.0) (2026-07-16)
|
|
3
29
|
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
[](https://opensource.org/licenses/MIT)
|
|
13
13
|
[](https://paypal.me/AndreyKolkov)
|
|
14
14
|
|
|
15
|
-
A simple native WYSIWYG/Rich Text editor for Angular
|
|
15
|
+
A simple native WYSIWYG/Rich Text editor for Angular 20+
|
|
16
16
|
|
|
17
17
|

|
|
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.
|
|
33
|
+
3.1.x - for Angular v20, v21, v22 (CSS variables, SVG icons, Vitest testing)
|
|
34
34
|
|
|
35
|
-
3.0.
|
|
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.
|
|
46
|
-
- Angular
|
|
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
|
|
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
|
|
|
@@ -354,3 +354,14 @@ If you like my work and I save your time you can buy me a :beer: or :pizza: [![D
|
|
|
354
354
|
[demo]: https://angular-editor-wysiwyg.stackblitz.io/
|
|
355
355
|
[example]: https://stackblitz.com/edit/angular-editor-wysiwyg
|
|
356
356
|
[icons]: https://www.svgrepo.com/collection/ligature-symbols-icons/
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
## Star History
|
|
360
|
+
|
|
361
|
+
<a href="https://starhistory.io">
|
|
362
|
+
<picture>
|
|
363
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.starhistory.io/png?repos=kolkov/angular-editor&style=dark" />
|
|
364
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.starhistory.io/png?repos=kolkov/angular-editor&style=professional" />
|
|
365
|
+
<img alt="Star History Chart" src="https://api.starhistory.io/png?repos=kolkov/angular-editor" width="800" />
|
|
366
|
+
</picture>
|
|
367
|
+
</a>
|