diff --git a/modules/ROOT/partials/integrations/svelte-tech-ref.adoc b/modules/ROOT/partials/integrations/svelte-tech-ref.adoc index 7b41df09e6..8c884b7938 100644 --- a/modules/ROOT/partials/integrations/svelte-tech-ref.adoc +++ b/modules/ROOT/partials/integrations/svelte-tech-ref.adoc @@ -7,6 +7,7 @@ Covered in this section: ** xref:id[id] ** xref:inline[inline] ** xref:disabled[disabled] +** xref:readonly[readonly] ** xref:scriptsrc[scriptsrc] ** xref:conf[conf] * xref:component-binding[Component binding] @@ -25,6 +26,7 @@ The `+tinymce-svelte+` `+Editor+` component accepts the following properties: id="uuid" inline=false disabled=false + readonly=false scriptSrc=undefined conf={} modelEvents="input change undo redo" @@ -134,7 +136,7 @@ Sets the editor to use inline mode. [[disabled]] === `+disabled+` -Set the editor to readonly mode. +Set the editor to disabled. *Type:* `+Boolean+` @@ -149,6 +151,24 @@ Set the editor to readonly mode. /> ---- +[[readonly]] +=== `+readonly+` + +Set the editor to readonly mode. + +*Type:* `+Boolean+` + +*Default value:* `+false+` + +==== Example using `+readonly+` + +[source,jsx] +---- + +---- + [[scriptsrc]] === `+scriptSrc+`