@kolkov/angular-editor 3.0.5 → 3.1.1

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,39 @@
1
+ <a name="3.1.1"></a>
2
+ ## [3.1.1](https://github.com/kolkov/angular-editor/compare/v3.1.0...v3.1.1) (2026-09-24)
3
+
4
+ ### Bug Fixes
5
+ * **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))
6
+ - Hidden toolbar buttons are now completely removed from the DOM instead of being hidden with CSS
7
+ - Fixes duplicate ID conflicts when custom buttons reuse the same command names (e.g. bold, italic)
8
+ - Improves performance by not rendering unnecessary DOM elements
9
+ - Thanks to @moamenelbarky for the contribution
10
+
11
+ ### Dependencies
12
+ * **deps:** bump zone.js from 0.15.1 to 0.16.2 ([#604](https://github.com/kolkov/angular-editor/pull/604))
13
+
14
+ ---
15
+
16
+ <a name="3.1.0"></a>
17
+ ## [3.1.0](https://github.com/kolkov/angular-editor/compare/v3.0.5...v3.1.0) (2026-07-16)
18
+
19
+ ### Features
20
+ * **deps:** Upgrade to Angular 22 with TypeScript 6.0 support
21
+ * **testing:** Migrate from Karma/Jasmine to Vitest via `@angular/build:unit-test` builder; expand test suite from 19 to 206 tests (76.74% statement coverage)
22
+ * **linting:** Migrate ESLint config from `.eslintrc.json` to `eslint.config.mjs` (ESLint 10 flat config)
23
+ * **build:** Replace `@angular-devkit/build-angular` builders with `@angular/build` equivalents
24
+ * **templates:** Migrate `*ngIf`/`*ngFor` structural directives to `@if`/`@for` built-in control flow
25
+ * **di:** Migrate constructor injection to `inject()` function where applicable
26
+
27
+ ### Internal
28
+ * Peer dependencies now include `^22.0.0` (Angular 20 and 21 still supported)
29
+ * ESLint migrated to flat config (`eslint.config.mjs`)
30
+ * CI/CD: split into separate `ci.yml`, `publish.yml`, and `release.yml` workflows
31
+ * CI: upgrade Node.js to 24
32
+ * Add Codecov coverage integration
33
+ * Add Dependabot configuration for automated dependency updates
34
+
35
+ ---
36
+
1
37
  <a name="3.0.5"></a>
2
38
  ## [3.0.5](https://github.com/kolkov/angular-editor/compare/v3.0.4...v3.0.5) (2026-01-30)
3
39
 
package/README.md CHANGED
@@ -3,16 +3,16 @@
3
3
  </p>
4
4
 
5
5
  # AngularEditor
6
- [![npm version](https://badge.fury.io/js/%40kolkov%2Fangular-editor.svg)](https://badge.fury.io/js/%40kolkov%2Fangular-editor)
7
- [![npm](https://img.shields.io/npm/v/@kolkov/angular-editor.svg)](https://www.npmjs.com/package/@kolkov/angular-editor)
8
- [![CI](https://github.com/kolkov/angular-editor/actions/workflows/publish.yml/badge.svg)](https://github.com/kolkov/angular-editor/actions/workflows/publish.yml)
6
+ [![npm version](https://badge.fury.io/js/%40kolkov%2Fangular-editor.svg)](https://www.npmjs.com/package/@kolkov/angular-editor)
7
+ [![CI](https://github.com/kolkov/angular-editor/actions/workflows/ci.yml/badge.svg)](https://github.com/kolkov/angular-editor/actions/workflows/ci.yml)
8
+ [![Coverage](https://codecov.io/gh/kolkov/angular-editor/branch/main/graph/badge.svg)](https://codecov.io/gh/kolkov/angular-editor)
9
9
  [![npm downloads](https://img.shields.io/npm/dm/@kolkov/angular-editor.svg)](https://www.npmjs.com/package/@kolkov/angular-editor)
10
10
  [![demo](https://img.shields.io/badge/demo-StackBlitz-blueviolet.svg)](https://stackblitz.com/edit/angular-editor-wysiwyg)
11
11
  [![](https://data.jsdelivr.com/v1/package/npm/@kolkov/angular-editor/badge?style=rounded)](https://www.jsdelivr.com/package/npm/@kolkov/angular-editor)
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 20+
15
+ A simple native WYSIWYG/Rich Text editor for Angular 22+
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,6 +30,8 @@ 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)
34
+
33
35
  3.0.0 and above - for Angular v20+ (CSS variables, modern Angular 20)
34
36
 
35
37
  2.0.0 and above - for Angular v13-19
@@ -40,10 +42,10 @@ npm install @kolkov/angular-editor --save
40
42
 
41
43
  0.15.x - for Angular v6.x.x
42
44
 
43
- **Note:** Version 3.0.0 requires:
44
- - Angular 20.0.0 or higher (also compatible with Angular 21)
45
+ **Note:** Version 3.1.0 requires:
46
+ - Angular 22.0.0 or higher
45
47
  - RxJS 7.8.0 or higher
46
- - TypeScript 5.4 or higher
48
+ - TypeScript 6.0 or higher
47
49
 
48
50
  Attention! `alpha` and `beta` versions may contain breaking changes.
49
51
 
@@ -352,3 +354,14 @@ If you like my work and I save your time you can buy me a :beer: or :pizza: [![D
352
354
  [demo]: https://angular-editor-wysiwyg.stackblitz.io/
353
355
  [example]: https://stackblitz.com/edit/angular-editor-wysiwyg
354
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>