Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 13 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,25 @@
# Official TinyMCE Angular Component
# Fork Of The Official TinyMCE Angular Component

## About
Official Repo [tinymce/tinymce-angular](https://github.com/tinymce/tinymce-angular)

This package is a thin wrapper around [TinyMCE](https://github.com/tinymce/tinymce) to make it easier to use in an Angular application.

* If you need detailed documentation on TinyMCE, see: [TinyMCE Documentation](https://www.tiny.cloud/docs/).
* For the TinyMCE Angular Quick Start, see: [TinyMCE Documentation - Angular Integration](https://www.tiny.cloud/docs/integrations/angular/#tinymceangularintegrationquickstartguide).
* For the TinyMCE Angular Technical Reference, see: [TinyMCE Documentation - TinyMCE Angular Technical Reference](https://www.tiny.cloud/docs/integrations/angular/#tinymceangulartechnicalreference).
* If you need detailed documentation on TinyMCE, see: [TinyMCE Documentation](https://www.tiny.cloud/docs/tinymce/8/).
* For the TinyMCE Angular Quick Start, see: [TinyMCE Documentation - Angular Integration](https://www.tiny.cloud/docs/tinymce/8/angular-cloud/).
* For the TinyMCE Angular Technical Reference, see: [TinyMCE Documentation - TinyMCE Angular Technical Reference](https://www.tiny.cloud/docs/tinymce/8/angular-ref/).
* For our quick demos, check out the TinyMCE Angular [Storybook](https://tinymce.github.io/tinymce-angular/).

### Support

For Angular 13+, use integration version 5.x:

`npm install @tinymce/tinymce-angular@^5.0.0`

For Angular 9+, use integration version 4.x:

`npm install @tinymce/tinymce-angular@^4.0.0`

For Angular 8 and below use integration version 3.x:

`npm install @tinymce/tinymce-angular@^3.0.0`

Versions below Angular 5 are not supported.
|Angular version|`tinymce-angular` version|
|--- |--- |
|16+ |8+ |
|14+ |7.x |
|13+ |6.x |
|9+ |4.x |
|<= 8 |3.x |
|< 5 | Not supported |

### Issues

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"description": "Official TinyMCE Angular Component",
"author": "Ephox Corporation DBA Tiny Technologies, Inc.",
"description": "Fork Of The Official TinyMCE Angular Component",
"author": "ZeroRex0126",
"license": "MIT",
"scripts": {
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('You must use Yarn to install, not NPM')\"",
Expand Down Expand Up @@ -67,5 +67,5 @@
"tinymce": "^5.5.0"
},
"version": "6.0.0",
"name": "@tinymce/tinymce-angular"
"name": "@xeroharo/tinymce-angular"
}
8 changes: 4 additions & 4 deletions tinymce-angular-component/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@tinymce/tinymce-angular",
"description": "Official TinyMCE Angular Component",
"name": "@xeroharo/tinymce-angular",
"description": "Fork Of The Official TinyMCE Angular Component",
"version": "",
"repository": "https://github.com/tinymce/tinymce-angular.git",
"author": "Ephox Corporation DBA Tiny Technologies, Inc.",
"repository": "https://github.com/ZeroRex0126/tinymce-angular.git",
"author": "ZeroRex.",
"license": "MIT",
"private": false,
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ export class EditorComponent extends Events implements AfterViewInit, ControlVal
}

public writeValue(value: string | null): void {
if (this._editor && this._editor.initialized) {
this._editor.setContent(isNullOrUndefined(value) ? '' : value);
} else {
if (!this._editor || !this._editor.initialized) {
this.initialValue = value === null ? undefined : value;
}
}
Expand Down