File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
modules/ROOT/partials/integrations Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ Set the editor to inline mode.
123123
124124=== `Disable`
125125
126- Set the editor to readonly mode .
126+ Sets the editor to a disable state .
127127
128128*Type:* `+Boolean+`
129129
@@ -139,6 +139,24 @@ Set the editor to readonly mode.
139139<button @onclick="@(() => disable = !disable)">Toggle</button>
140140----
141141
142+ === `Readonly`
143+
144+ Sets the editor to readonly mode.
145+
146+ *Type:* `+Boolean+`
147+
148+ *Default value:* `+false+`
149+
150+ ==== Example using Readonly
151+
152+ [source,cs]
153+ ----
154+ <Editor
155+ Readonly=@readonly
156+ />
157+ <button @onclick="@(() => readonly = !readonly)">Toggle</button>
158+ ----
159+
142160=== `JsConfSrc`
143161
144162Use a JS object as base configuration for the editor by specifying the path to the object relative to the window object.
You can’t perform that action at this time.
0 commit comments