@kolkov/angular-editor 3.0.0-beta.2 → 3.0.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 +57 -1
- package/README.md +15 -10
- package/assets/icons/icons.svg +2 -2
- package/fesm2022/kolkov-angular-editor.mjs +1360 -0
- package/fesm2022/kolkov-angular-editor.mjs.map +1 -0
- package/index.d.ts +412 -0
- package/package.json +10 -16
- package/themes/default.scss +22 -22
- package/esm2020/kolkov-angular-editor.mjs +0 -5
- package/esm2020/lib/ae-button/ae-button.component.mjs +0 -21
- package/esm2020/lib/ae-select/ae-select.component.mjs +0 -185
- package/esm2020/lib/ae-toolbar/ae-toolbar.component.mjs +0 -365
- package/esm2020/lib/ae-toolbar-set/ae-toolbar-set.component.mjs +0 -15
- package/esm2020/lib/angular-editor.module.mjs +0 -27
- package/esm2020/lib/angular-editor.service.mjs +0 -275
- package/esm2020/lib/config.mjs +0 -36
- package/esm2020/lib/editor/angular-editor.component.mjs +0 -415
- package/esm2020/lib/utils.mjs +0 -4
- package/esm2020/public-api.mjs +0 -11
- package/fesm2015/kolkov-angular-editor.mjs +0 -1325
- package/fesm2015/kolkov-angular-editor.mjs.map +0 -1
- package/fesm2020/kolkov-angular-editor.mjs +0 -1319
- package/fesm2020/kolkov-angular-editor.mjs.map +0 -1
- package/kolkov-angular-editor.d.ts +0 -5
- package/lib/ae-button/ae-button.component.d.ts +0 -7
- package/lib/ae-select/ae-select.component.d.ts +0 -46
- package/lib/ae-toolbar/ae-toolbar.component.d.ts +0 -97
- package/lib/ae-toolbar-set/ae-toolbar-set.component.d.ts +0 -6
- package/lib/angular-editor.module.d.ts +0 -13
- package/lib/angular-editor.service.d.ts +0 -87
- package/lib/config.d.ts +0 -39
- package/lib/editor/angular-editor.component.d.ts +0 -133
- package/lib/utils.d.ts +0 -1
- package/public-api.d.ts +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
|
+
<a name="3.0.0"></a>
|
|
2
|
+
## [3.0.0](https://github.com/kolkov/angular-editor/compare/v2.0.0...v3.0.0) (2025-11-22) Major Angular 20 Upgrade
|
|
3
|
+
|
|
4
|
+
🎉 **Stable Release** - Production Ready!
|
|
5
|
+
|
|
6
|
+
### Breaking Changes
|
|
7
|
+
* **Angular Version:** Minimum required version is now Angular 20.0.0
|
|
8
|
+
* **RxJS:** Requires RxJS 7.8.0 or higher (upgraded from 6.5.5)
|
|
9
|
+
* **TypeScript:** Requires TypeScript 5.4 or higher
|
|
10
|
+
* **zone.js:** Updated to 0.15.1
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
* **Angular 20 Support:** Full compatibility with Angular 20.3.13 (v20-lts)
|
|
14
|
+
* **Angular 21 Ready:** Forward compatible with Angular 21.x
|
|
15
|
+
* **Modern Build System:** Updated to latest ng-packagr 20.3.2
|
|
16
|
+
* **Enhanced Type Safety:** Improved TypeScript strict mode compliance
|
|
17
|
+
* **Font Awesome Removed:** No external icon dependencies - using pure SVG icons (27 icons)
|
|
18
|
+
* **Zero External Icon Dependencies:** Fully self-contained icon system
|
|
19
|
+
|
|
20
|
+
### Migration Path
|
|
21
|
+
* Migrated through: Angular 13 → 18 → 19 → 20
|
|
22
|
+
* All Angular CLI migrations applied successfully
|
|
23
|
+
* Updated DOCUMENT import from @angular/core (Angular 20 requirement)
|
|
24
|
+
* Modernized test infrastructure (waitForAsync)
|
|
25
|
+
|
|
26
|
+
### Developer Experience
|
|
27
|
+
* **ESLint:** Updated to @angular-eslint 20.x
|
|
28
|
+
* **Linting:** All files pass linting (0 errors)
|
|
29
|
+
* **Build:** Both development and production builds verified
|
|
30
|
+
* **Tests:** 13/13 tests passing (100% success rate)
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
* **Icons:** Fixed list icons (unordered/ordered) display consistency in toolbar
|
|
34
|
+
* **Tests:** Fixed AeSelectComponent tests for mousedown event handling
|
|
35
|
+
* **Demo:** Updated demo app for Angular 20 compatibility
|
|
36
|
+
|
|
37
|
+
### Technical Details
|
|
38
|
+
* Removed deprecated `async` test helper (use `waitForAsync`)
|
|
39
|
+
* Fixed TypeScript strict type checking for event handlers
|
|
40
|
+
* Disabled new strict rules for backward compatibility (prefer-standalone, prefer-inject)
|
|
41
|
+
* Updated moduleResolution to 'bundler' (Angular 20 standard)
|
|
42
|
+
|
|
43
|
+
### Peer Dependencies
|
|
44
|
+
```json
|
|
45
|
+
{
|
|
46
|
+
"@angular/common": "^20.0.0 || ^21.0.0",
|
|
47
|
+
"@angular/core": "^20.0.0 || ^21.0.0",
|
|
48
|
+
"@angular/forms": "^20.0.0 || ^21.0.0",
|
|
49
|
+
"rxjs": "^7.8.0"
|
|
50
|
+
}
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
<a name="3.0.0-beta.2"></a>
|
|
54
|
+
## [3.0.0-beta.2](https://github.com/kolkov/angular-editor/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2025-01-10)
|
|
55
|
+
* Refactor ae-select component (button → span)
|
|
56
|
+
|
|
1
57
|
<a name="2.0.0"></a>
|
|
2
|
-
## [
|
|
58
|
+
## [2.0.0](https://github.com/kolkov/angular-editor/compare/v1.2.0...v2.0.0) (2022-01-06) Major release
|
|
3
59
|
* Update to Angular v.13 and new Ivy compatible package format
|
|
4
60
|
|
|
5
61
|
<a name="1.0.2"></a>
|
package/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img width="150px" src="https://raw.githubusercontent.com/kolkov/angular-editor/
|
|
2
|
+
<img width="150px" src="https://raw.githubusercontent.com/kolkov/angular-editor/main/docs/angular-editor-logo.png?raw=true" alt="AngularEditor logo"/>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
# AngularEditor
|
|
6
6
|
[](https://badge.fury.io/js/%40kolkov%2Fangular-editor)
|
|
7
7
|
[](https://stackblitz.com/edit/angular-editor-wysiwyg)
|
|
8
|
-
[](https://travis-ci.com/kolkov/angular-editor)
|
|
9
9
|
[](https://www.npmjs.com/package/@kolkov/angular-editor)
|
|
10
10
|
[](https://www.jsdelivr.com/package/npm/@kolkov/angular-editor)
|
|
11
|
-
[](https://coveralls.io/github/kolkov/angular-editor?branch=main)
|
|
12
|
+
[](https://codecov.io/gh/kolkov/angular-editor)
|
|
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,16 +30,21 @@ Install via [npm][npm] package manager
|
|
|
30
30
|
npm install @kolkov/angular-editor --save
|
|
31
31
|
```
|
|
32
32
|
### Versions
|
|
33
|
-
3.0.0 and above - for Angular
|
|
33
|
+
3.0.0 and above - for Angular v20+ (CSS variables, modern Angular 20)
|
|
34
34
|
|
|
35
|
-
2.0.0 and above - for Angular v13
|
|
35
|
+
2.0.0 and above - for Angular v13-19
|
|
36
36
|
|
|
37
|
-
1.0.0 and above - for Angular v8
|
|
37
|
+
1.0.0 and above - for Angular v8-12
|
|
38
38
|
|
|
39
39
|
0.18.4 and above - for Angular v7.x.x
|
|
40
40
|
|
|
41
41
|
0.15.x - for Angular v6.x.x
|
|
42
42
|
|
|
43
|
+
**Note:** Version 3.0.0 requires:
|
|
44
|
+
- Angular 20.0.0 or higher (also compatible with Angular 21)
|
|
45
|
+
- RxJS 7.8.0 or higher
|
|
46
|
+
- TypeScript 5.4 or higher
|
|
47
|
+
|
|
43
48
|
Attention! `alpha` and `beta` versions may contain breaking changes.
|
|
44
49
|
|
|
45
50
|
### Usage
|
|
@@ -323,9 +328,9 @@ Icons from Ligature Symbols Icons Collection [icons]
|
|
|
323
328
|
|
|
324
329
|
## Contributing
|
|
325
330
|
|
|
326
|
-
Please read through our [contributing guidelines](https://github.com/kolkov/angular-editor/blob/
|
|
331
|
+
Please read through our [contributing guidelines](https://github.com/kolkov/angular-editor/blob/main/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.
|
|
327
332
|
|
|
328
|
-
Editor preferences are available in the [editor config](https://github.com/kolkov/angular-editor/blob/
|
|
333
|
+
Editor preferences are available in the [editor config](https://github.com/kolkov/angular-editor/blob/main/.editorconfig) for easy use in common text editors. Read more and download plugins at <http://editorconfig.org>.
|
|
329
334
|
|
|
330
335
|
## Versioning
|
|
331
336
|
|
package/assets/icons/icons.svg
CHANGED
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
<path d="M18.2 14.8L17.5 15.5L14 12L17.5 8.5L18.2 9.2L15.4 12L18.2 14.8Z" fill="#000000"></path>
|
|
78
78
|
</symbol>
|
|
79
79
|
<symbol id="unorderedList" viewBox="0 0 16 16">
|
|
80
|
-
<g id="SVGRepo_iconCarrier">
|
|
80
|
+
<g id="SVGRepo_iconCarrier" transform="translate(1.6 1.6) scale(0.8)">
|
|
81
81
|
<rect width="16" height="16" id="icon-bound" fill="none"></rect>
|
|
82
82
|
<path d="M4,3v2h12V3H4z M0,5h2V3H0V5z M4,9h12V7H4V9z M0,9h2V7H0V9z M4,13h12v-2H4V13z M0,13h2v-2H0V13z"></path>
|
|
83
83
|
</g>
|
|
84
84
|
</symbol>
|
|
85
85
|
<symbol id="orderedList" viewBox="0 0 16 16">
|
|
86
|
-
<g id="SVGRepo_iconCarrier">
|
|
86
|
+
<g id="SVGRepo_iconCarrier" transform="translate(1.6 1.6) scale(0.8)">
|
|
87
87
|
<rect width="16" height="16" id="icon-bound" fill="none"></rect>
|
|
88
88
|
<path id="list-numbered"
|
|
89
89
|
d="M0,10l0,-1l2,0c0.552,0 1,0.448 1,1l0,1c-0,0.552 -0.448,1 -1,1l-0.75,0c-0.066,-0 -0.13,0.026 -0.177,0.073c-0.047,0.047 -0.073,0.111 -0.073,0.177c0,0.153 0,0.347 0,0.5c-0,0.066 0.026,0.13 0.073,0.177c0.047,0.047 0.111,0.073 0.177,0.073l1.75,0l0,1l-2,0c-0.552,-0 -1,-0.448 -1,-1l0,-1c0,-0.552 0.448,-1 1,-1l0.75,-0c0.066,0 0.13,-0.026 0.177,-0.073c0.047,-0.047 0.073,-0.111 0.073,-0.177c0,-0.153 0,-0.347 0,-0.5c0,-0.066 -0.026,-0.13 -0.073,-0.177c-0.047,-0.047 -0.111,-0.073 -0.177,-0.073l-1.75,0Zm4,1l12,0l0,2l-12,0l0,-2Zm0,-4l12,0l0,2l-12,0l0,-2Zm-3,-3.75c0,-0.066 -0.026,-0.13 -0.073,-0.177c-0.047,-0.047 -0.111,-0.073 -0.177,-0.073l-0.75,0l0,-1l1,0c0.552,0 1,0.448 1,1c-0,1.185 0,4 0,4l-1,0l0,-3.75Zm3,-0.25l12,0l0,2l-12,0l0,-2Z"></path>
|