File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
modules/ROOT/partials/integrations Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Covered in this section:
77** xref:id[id]
88** xref:inline[inline]
99** xref:disabled[disabled]
10+ ** xref:readonly[readonly]
1011** xref:scriptsrc[scriptsrc]
1112** xref:conf[conf]
1213* xref:component-binding[Component binding]
@@ -25,6 +26,7 @@ The `+tinymce-svelte+` `+Editor+` component accepts the following properties:
2526 id="uuid"
2627 inline=false
2728 disabled=false
29+ readonly=false
2830 scriptSrc=undefined
2931 conf={}
3032 modelEvents="input change undo redo"
@@ -134,7 +136,7 @@ Sets the editor to use inline mode.
134136[[disabled]]
135137=== `+disabled+`
136138
137- Set the editor to readonly mode .
139+ Set the editor to disabeld .
138140
139141*Type:* `+Boolean+`
140142
@@ -149,6 +151,24 @@ Set the editor to readonly mode.
149151/>
150152----
151153
154+ [[readonly]]
155+ === `+readonly+`
156+
157+ Set the editor to readonly mode.
158+
159+ *Type:* `+Boolean+`
160+
161+ *Default value:* `+false+`
162+
163+ ==== Example using `+readonly+`
164+
165+ [source,jsx]
166+ ----
167+ <Editor
168+ readonly=true
169+ />
170+ ----
171+
152172[[scriptsrc]]
153173=== `+scriptSrc+`
154174
You can’t perform that action at this time.
0 commit comments