Skip to content

Commit 6d452e1

Browse files
INT-3380: Fix licenseKey prop not defaulted to gpl (#430)
1 parent 5d5f0a0 commit 6d452e1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Fixed
1010
- `EventObj` interface not being importable.
11+
- `licenseKey` was not defaulted to `gpl`. #INT-3380
1112

1213
## 9.1.0 - 2025-07-31
1314

tinymce-angular-component/src/main/ts/editor/editor.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class EditorComponent extends Events implements AfterViewInit, ControlVal
5353

5454
@Input() public cloudChannel: Version = '8';
5555
@Input() public apiKey = 'no-api-key';
56-
@Input() public licenseKey?: string;
56+
@Input() public licenseKey = 'gpl';
5757
@Input() public init?: EditorOptions;
5858
@Input() public id = '';
5959
@Input() public initialValue?: string;

tinymce-angular-component/src/test/ts/alien/TestHooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const editorHook = <T = unknown>(component: Type<T>, moduleDef: TestModul
6262
.map((v): EditorComponent => v.componentInstance)
6363
.getOrDie('EditorComponent instance not found');
6464

65-
for (const [ key, value ] of Object.entries({ ...props, licenseKey: 'gpl' })) {
65+
for (const [ key, value ] of Object.entries({ ...props })) {
6666
(editorComponent as any)[key] = value;
6767
}
6868

0 commit comments

Comments
 (0)