Skip to content

Commit

Permalink
DOC-2570: Add LicenseKey property to Blazor Tech Ref (#3510)
Browse files Browse the repository at this point in the history
* DOC-2570: Add LicenseKey property to Blazor Tech Ref

* Change CloudChannel to {productmajorversion}
  • Loading branch information
FarzadHayat authored Nov 18, 2024
1 parent cdb5130 commit 4ee1ed8
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions modules/ROOT/partials/integrations/blazor-tech-ref.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ Covered in this section:

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

[source,cs]
[source,cs,subs="attributes+"]
----
<Editor
Id="uuid"
Inline=false
CloudChannel="5"
CloudChannel="{productmajorversion}"
Value=""
Disable=false
JsConfSrc="path_to_jsObj"
Conf="@yourConf"
ScriptSrc="/path/to/tinymce.min.js"
ApiKey="your-api-key"
LicenseKey="your-license-key"
ScriptSrc="/path/to/tinymce.min.js"
ClassName="tinymce-wrapper"
/>
----
Expand Down Expand Up @@ -167,6 +168,21 @@ In your component:
/>
----

=== `LicenseKey`

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].

*Type:* `+String+`

==== Example using LicenseKey

[source,cs]
----
<Editor
LicenseKey="your-license-key"
/>
----

=== `ScriptSrc`

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}.
Expand Down

0 comments on commit 4ee1ed8

Please sign in to comment.