Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion modules/ROOT/partials/integrations/svelte-tech-ref.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"
Expand Down Expand Up @@ -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+`

Expand All @@ -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]
----
<Editor
readonly=true
/>
----

[[scriptsrc]]
=== `+scriptSrc+`

Expand Down