Skip to content

Commit c860c49

Browse files
committed
DOC-3275: Update Angular guide for self hosting, failing on licenseKey prop.
1 parent af92bf5 commit c860c49

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

modules/ROOT/partials/integrations/angular-quick-start.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,11 @@ import { EditorComponent } from '@tinymce/tinymce-angular';
6161
<h1>{productname} {productmajorversion} Angular Demo</h1>
6262
<editor
6363
[init]="init"
64+
licenseKey="gpl"
6465
/>
6566
`
6667
})
67-
export class AppComponent {
68+
export class App {
6869
init: EditorComponent['init'] = {
6970
plugins: 'lists link image table code help wordcount'
7071
};

modules/ROOT/partials/integrations/angular-tech-ref.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ The editor accepts the following properties:
9797
<editor
9898
apiKey="no-api-key"
9999
cloudChannel="{productmajorversion}"
100+
licenseKey="gpl"
100101
[disabled]="false"
101102
[readonly]="false"
102103
id=""
@@ -146,6 +147,9 @@ include::partial$integrations/common/license-key-property.adoc[]
146147
<editor licenseKey="gpl" />
147148
----
148149

150+
[TIP]
151+
The `+licenseKey="gpl"+` property must be set on the `<editor>` component.
152+
149153
[[cloudchannel]]
150154
=== `+cloudChannel+`
151155

0 commit comments

Comments
 (0)