Skip to content

Commit 88a1a9f

Browse files
INT-3376: Support Angular v19 (#436)
* INT-3376: Support Angular v19 * Update readme
1 parent 162ecf8 commit 88a1a9f

15 files changed

Lines changed: 2915 additions & 3847 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This package is a thin wrapper around [TinyMCE](https://github.com/tinymce/tinym
1313

1414
|Angular version|`tinymce-angular` version|
1515
|--- |--- |
16-
|16+ |8+ |
16+
|>=16.x <=19.x |8+ |
1717
|14+ |7.x |
1818
|13+ |6.x |
1919
|9+ |4.x |

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,31 @@
1515
},
1616
"private": true,
1717
"devDependencies": {
18-
"@angular-devkit/build-angular": "^18.1.1",
19-
"@angular-devkit/core": "^18.1.1",
20-
"@angular/animations": "^18.1.1",
21-
"@angular/cdk": "^18.1.1",
22-
"@angular/cli": "^18.1.1",
23-
"@angular/common": "^18.1.1",
24-
"@angular/compiler": "^18.1.1",
25-
"@angular/compiler-cli": "^18.1.1",
26-
"@angular/core": "^18.1.1",
27-
"@angular/forms": "^18.1.1",
28-
"@angular/language-service": "^18.1.1",
29-
"@angular/material": "^18.1.1",
30-
"@angular/platform-browser": "^18.1.1",
31-
"@angular/platform-browser-dynamic": "^18.1.1",
18+
"@angular-devkit/build-angular": "^19",
19+
"@angular-devkit/core": "^19",
20+
"@angular/animations": "^19",
21+
"@angular/cdk": "^19",
22+
"@angular/cli": "^19",
23+
"@angular/common": "^19",
24+
"@angular/compiler": "^19",
25+
"@angular/compiler-cli": "^19",
26+
"@angular/core": "^19",
27+
"@angular/forms": "^19",
28+
"@angular/language-service": "^19",
29+
"@angular/material": "^19",
30+
"@angular/platform-browser": "^19",
31+
"@angular/platform-browser-dynamic": "^19",
3232
"@babel/core": "^7.24.9",
3333
"@ephox/agar": "^8.0.1",
3434
"@ephox/bedrock-client": "^14.1.1",
3535
"@ephox/bedrock-server": "^14.1.3",
3636
"@ephox/sugar": "^9.3.1",
37-
"@storybook/addon-essentials": "^8.2.5",
38-
"@storybook/addon-interactions": "^8.2.5",
37+
"@storybook/addon-essentials": "~8.5",
38+
"@storybook/addon-interactions": "~8.5",
3939
"@storybook/addon-links": "^8.2.5",
40-
"@storybook/angular": "^8.2.5",
40+
"@storybook/angular": "~8.5",
4141
"@storybook/blocks": "^8.2.5",
42-
"@storybook/test": "^8.2.5",
42+
"@storybook/test": "~8.5",
4343
"@tinymce/beehive-flow": "^0.19.0",
4444
"@tinymce/eslint-plugin": "^3.0.0",
4545
"@tinymce/miniature": "^6.0.0",
@@ -61,7 +61,7 @@
6161
"regenerator-runtime": "^0.14.1",
6262
"rimraf": "^6.0.1",
6363
"rxjs": "^7.8.1",
64-
"storybook": "^8.2.5",
64+
"storybook": "~8.5",
6565
"tinymce": "^8.0.0",
6666
"tinymce-4": "npm:tinymce@^4",
6767
"tinymce-5": "npm:tinymce@^5",
@@ -73,7 +73,7 @@
7373
"tslib": "^2.6.2",
7474
"typescript": "~5.5.4",
7575
"webpack": "^5.95.0",
76-
"zone.js": "~0.14.8"
76+
"zone.js": "~0.15.0"
7777
},
7878
"version": "9.1.2-rc",
7979
"name": "@tinymce/tinymce-angular"

stories/contentprojection/ContentProjection.component.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ import { apiKey } from '../Settings';
3333
<button [innerText]="show ? 'Hide' : 'Show'" (click)="handleToggle()"></button>
3434
<ng-container *ngTemplateOutlet="show ? editorTemplate : placeHolder"></ng-container>
3535
<div>
36-
`
36+
`,
37+
standalone: false
3738
})
3839
export class ContainerComponent {
3940
@Input() public editorTemplate!: TemplateRef<any>;
@@ -52,7 +53,8 @@ export class ContainerComponent {
5253
</ng-template>
5354
5455
<container [editorTemplate]="editorTemplate"></container>
55-
`
56+
`,
57+
standalone: false
5658
})
5759
export class ContentProjectionComponent {
5860
public apiKey = apiKey;

stories/data-binding/DataBinding.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import { apiKey, modelEvents, sampleContent } from '../Settings';
44

55
@Component({
66
selector: 'binding',
7-
templateUrl: './DataBinding.component.html'
7+
templateUrl: './DataBinding.component.html',
8+
standalone: false
89
})
910
export class BindingComponent {
1011
public isEditingContent = true;

stories/disable/Disable.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { apiKey, sampleContent } from '../Settings';
44
@Component({
55
selector: 'disabling',
66
templateUrl: './Disabling.component.html',
7+
standalone: false
78
})
89
export class DisablingComponent {
910
public isDisabled = false;

stories/event-binding/EventBinding.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { apiKey } from '../Settings';
55
@Component({
66
selector: 'event-binding',
77
templateUrl: './EventBinding.component.html',
8+
standalone: false
89
})
910
export class EventBindingComponent {
1011
public apiKey = apiKey;

stories/event-forwarding/EventForwarding.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { apiKey } from '../Settings';
55
@Component({
66
selector: 'event-forwarding',
77
templateUrl: './EventForwarding.component.html',
8+
standalone: false
89
})
910
export class EventForwardingComponent {
1011
public apiKey = apiKey;

stories/form-control/FormControl.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { apiKey } from 'stories/Settings';
55
@Component({
66
selector: 'form-control',
77
templateUrl: './FormControl.component.html',
8+
standalone: false,
89
})
910
export class FormControlComponent {
1011
public apiKey = apiKey;

stories/form-with-on-push/form-with-on-push.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { apiKey } from 'stories/Settings';
1212
selector: 'form-with-on-push',
1313
templateUrl: './form-with-on-push.html',
1414
changeDetection: ChangeDetectionStrategy.OnPush,
15+
standalone: false
1516
})
1617
export class FormWithOnPushComponent {
1718
@Input() public apiKey = apiKey;

stories/formvalidation/FormValidation.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ import { apiKey } from '../Settings';
1616
.preview {
1717
border: 1px solid rgb(190, 190, 190);
1818
}
19-
` ]
19+
` ],
20+
standalone: false
2021
})
2122
export class BlogComponent {
2223
public submitted = false;

0 commit comments

Comments
 (0)