@tinymce/tinymce-angular 9.1.2-feature.20260512002432037.sha66957fb → 9.1.2-feature.20260921015012001.sha9b0e388
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/README.md +62 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,31 +2,82 @@
|
|
|
2
2
|
|
|
3
3
|
## About
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Official Angular component for TinyMCE, the rich text editor. It makes it easy to integrate TinyMCE into your Angular applications, with full support for both zone-based and zoneless change detection.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
* For the TinyMCE Angular Quick Start, see: [TinyMCE Documentation - Angular Integration](https://www.tiny.cloud/docs/tinymce/8/angular-cloud/).
|
|
9
|
-
* For the TinyMCE Angular Technical Reference, see: [TinyMCE Documentation - TinyMCE Angular Technical Reference](https://www.tiny.cloud/docs/tinymce/8/angular-ref/).
|
|
10
|
-
* For our quick demos, check out the TinyMCE Angular [Storybook](https://tinymce.github.io/tinymce-angular/).
|
|
7
|
+
## Quickstart
|
|
11
8
|
|
|
12
|
-
###
|
|
9
|
+
### Cloud CDN
|
|
10
|
+
|
|
11
|
+
In your Angular project:
|
|
12
|
+
|
|
13
|
+
1. [Sign up for a Tiny Cloud account](https://www.tiny.cloud/pricing/) to receive a Tiny Cloud API key.
|
|
14
|
+
2. `npm install @tinymce/tinymce-angular`
|
|
15
|
+
3. Include the following code:
|
|
16
|
+
|
|
17
|
+
```js
|
|
18
|
+
import { Component } from '@angular/core';
|
|
19
|
+
import { EditorComponent } from '@tinymce/tinymce-angular';
|
|
20
|
+
|
|
21
|
+
@Component({
|
|
22
|
+
selector: 'app-root',
|
|
23
|
+
imports: [EditorComponent],
|
|
24
|
+
template: `
|
|
25
|
+
<h1>TinyMCE Angular demo</h1>
|
|
26
|
+
<editor
|
|
27
|
+
[init]="init"
|
|
28
|
+
apiKey="your-api-key"
|
|
29
|
+
/>
|
|
30
|
+
`
|
|
31
|
+
})
|
|
32
|
+
export class AppComponent {
|
|
33
|
+
init: EditorComponent['init'] = {
|
|
34
|
+
plugins: 'lists link image table code help wordcount'
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
4. Update the `apiKey` option in the editor element to include your Tiny Cloud API key.
|
|
40
|
+
|
|
41
|
+
For more information: [Using TinyMCE with Angular - Cloud CDN](https://www.tiny.cloud/docs/tinymce/latest/angular-cloud/)
|
|
42
|
+
|
|
43
|
+
### Self hosted via NPM package
|
|
44
|
+
|
|
45
|
+
Using TinyMCE from NPM in an Angular project requires a couple of extra steps. See the documentation for more information: [Using TinyMCE with Angular - Self hosted via NPM](https://www.tiny.cloud/docs/tinymce/latest/angular-pm/)
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## Demos
|
|
49
|
+
|
|
50
|
+
For our quick demos, check out the TinyMCE Angular [Storybook](https://tinymce.github.io/tinymce-angular/).
|
|
51
|
+
|
|
52
|
+
## Detailed documentation
|
|
53
|
+
|
|
54
|
+
* [TinyMCE Angular Technical Reference](https://www.tiny.cloud/docs/tinymce/latest/angular-ref/).
|
|
55
|
+
* [TinyMCE Documentation](https://www.tiny.cloud/docs/tinymce/latest/).
|
|
56
|
+
|
|
57
|
+
## Version compatibility
|
|
13
58
|
|
|
14
59
|
|Angular version|`tinymce-angular` version|
|
|
15
60
|
|--- |--- |
|
|
16
|
-
|>=16.x
|
|
61
|
+
|>=16.x |8+ |
|
|
17
62
|
|14+ |7.x |
|
|
18
63
|
|13+ |6.x |
|
|
19
64
|
|9+ |4.x |
|
|
20
65
|
|<= 8 |3.x |
|
|
21
66
|
|< 5 | Not supported |
|
|
22
67
|
|
|
23
|
-
|
|
24
|
-
This wrapper supports Angular's zoneless change detection. No additional configuration is needed — the component works with both zone-based and zoneless applications.
|
|
68
|
+
**Note**: The component works with both zone-based and zoneless applications.
|
|
25
69
|
|
|
26
|
-
|
|
70
|
+
## Issues
|
|
27
71
|
|
|
28
|
-
Have you found an issue with tinymce-angular or do you have a feature request?
|
|
72
|
+
Have you found an issue with `tinymce-angular` or do you have a feature request?
|
|
29
73
|
Open up an [issue](https://github.com/tinymce/tinymce-angular/issues) and let us know
|
|
30
74
|
or submit a [pull request](https://github.com/tinymce/tinymce-angular/pulls).
|
|
31
75
|
|
|
32
76
|
_Note: for issues concerning TinyMCE please visit the [TinyMCE repository](https://github.com/tinymce/tinymce)._
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
## License
|
|
80
|
+
|
|
81
|
+
`tinymce-angular` is licensed under the MIT License. See the LICENSE.txt file for details.
|
|
82
|
+
|
|
83
|
+
Depending on use case, the TinyMCE core editor can be used under either GPL-2.0-or-later or a commercial license. See the [tinymce package](https://www.npmjs.com/package/tinymce) for details.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinymce/tinymce-angular",
|
|
3
3
|
"description": "Official TinyMCE Angular Component",
|
|
4
|
-
"version": "9.1.2-feature.
|
|
4
|
+
"version": "9.1.2-feature.20260921015012001.sha9b0e388",
|
|
5
5
|
"repository": "https://github.com/tinymce/tinymce-angular.git",
|
|
6
6
|
"author": "Ephox Corporation DBA Tiny Technologies, Inc.",
|
|
7
7
|
"license": "MIT",
|