Browse Source
DOC-2383: Update Svelte Integration's Technical Reference page for TinyMCE V7 release. (#3315)
* DOC-2383: Update Svelte Integration's Technical Reference page for TinyMCE V7 release.
* DOC-2383: Update Svelte tech ref to include ID as an anchor point.
* Update modules/ROOT/partials/integrations/svelte-tech-ref.adoc
Co-authored-by: Mitchell Crompton <mitchell.crompton@tiny.cloud>
---------
Co-authored-by: Mitchell Crompton <mitchell.crompton@tiny.cloud>
pull/3318/head
Karl Kemister-Sheppard
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
36 additions and
1 deletions
-
modules/ROOT/partials/integrations/svelte-tech-ref.adoc
|
|
@ -1,6 +1,14 @@ |
|
|
|
Covered in this section: |
|
|
|
|
|
|
|
* xref:configuring-the-tinymce-svelte-integration[Configuring the TinyMCE Svelte integration] |
|
|
|
** xref:apikey[apiKey] |
|
|
|
** xref:licensekey[licenseKey] |
|
|
|
** xref:channel[channel] |
|
|
|
** xref:id[id] |
|
|
|
** xref:inline[inline] |
|
|
|
** xref:disabled[disabled] |
|
|
|
** xref:scriptsrc[scriptsrc] |
|
|
|
** xref:conf[conf] |
|
|
|
* xref:component-binding[Component binding] |
|
|
|
* xref:event-binding[Event binding] |
|
|
|
|
|
|
@ -43,6 +51,28 @@ The `+tinymce-svelte+` `+Editor+` component accepts the following properties: |
|
|
|
/> |
|
|
|
---- |
|
|
|
|
|
|
|
[[licenseKey]] |
|
|
|
=== `+licenseKey+` |
|
|
|
|
|
|
|
{cloudname} License key. |
|
|
|
|
|
|
|
Use this when self-hosting {productname} instead of loading from {cloudname}. For more information, see: xref:license-key.adoc[License Key]. |
|
|
|
|
|
|
|
*Type:* `+String+` |
|
|
|
|
|
|
|
*Default value:* `+undefined+` |
|
|
|
|
|
|
|
*Possible values:* `undefined`, `'gpl'` or a valid {productname} license key |
|
|
|
|
|
|
|
==== Example: using `+licenseKey+` |
|
|
|
|
|
|
|
[source,jsx] |
|
|
|
---- |
|
|
|
<Editor |
|
|
|
licenseKey="your-license-key" |
|
|
|
/> |
|
|
|
---- |
|
|
|
|
|
|
|
[[channel]] |
|
|
|
=== `+channel+` |
|
|
|
|
|
|
@ -229,6 +259,10 @@ The following events are available: |
|
|
|
* `+change+` |
|
|
|
* `+clearundos+` |
|
|
|
* `+click+` |
|
|
|
* `+CommentChange+` |
|
|
|
* `+CompositionEnd+` |
|
|
|
* `+CompositionStart+` |
|
|
|
* `+CompositionUpdate+` |
|
|
|
* `+contextmenu+` |
|
|
|
* `+copy+` |
|
|
|
* `+cut+` |
|
|
@ -248,6 +282,7 @@ The following events are available: |
|
|
|
* `+getcontent+` |
|
|
|
* `+hide+` |
|
|
|
* `+init+` |
|
|
|
* `+input+` |
|
|
|
* `+keydown+` |
|
|
|
* `+keypress+` |
|
|
|
* `+keyup+` |
|
|
@ -279,4 +314,4 @@ The following events are available: |
|
|
|
* `+show+` |
|
|
|
* `+submit+` |
|
|
|
* `+undo+` |
|
|
|
* `+visualaid+` |
|
|
|
* `+visualaid+` |