Skip to content

Commit 4ee1ed8

Browse files
author
Farzad Hayat
authored
DOC-2570: Add LicenseKey property to Blazor Tech Ref (#3510)
* DOC-2570: Add LicenseKey property to Blazor Tech Ref * Change CloudChannel to {productmajorversion}
1 parent cdb5130 commit 4ee1ed8

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

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

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,19 @@ Covered in this section:
88

99
The `+TinyMCE.Blazor+` `+Editor+` component accepts the following properties:
1010

11-
[source,cs]
11+
[source,cs,subs="attributes+"]
1212
----
1313
<Editor
1414
Id="uuid"
1515
Inline=false
16-
CloudChannel="5"
16+
CloudChannel="{productmajorversion}"
1717
Value=""
1818
Disable=false
1919
JsConfSrc="path_to_jsObj"
2020
Conf="@yourConf"
21-
ScriptSrc="/path/to/tinymce.min.js"
2221
ApiKey="your-api-key"
22+
LicenseKey="your-license-key"
23+
ScriptSrc="/path/to/tinymce.min.js"
2324
ClassName="tinymce-wrapper"
2425
/>
2526
----
@@ -167,6 +168,21 @@ In your component:
167168
/>
168169
----
169170

171+
=== `LicenseKey`
172+
173+
Specifies the {productname} license key. Required for self-hosted deployments of {productname}. This property is not required for deployments using the {cloudname}. For more information on licensing, see: xref:license-key.adoc[License key].
174+
175+
*Type:* `+String+`
176+
177+
==== Example using LicenseKey
178+
179+
[source,cs]
180+
----
181+
<Editor
182+
LicenseKey="your-license-key"
183+
/>
184+
----
185+
170186
=== `ScriptSrc`
171187

172188
Use the `+ScriptSrc+` property to specify the location of {productname} to lazy load when the application is not using {cloudname}. This setting is required if the application uses a self-hosted version of {productname}, such as the https://www.nuget.org/packages/TinyMCE/[{productname} NuGet package] or a .zip package of {productname}.

0 commit comments

Comments
 (0)