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: 22 additions & 0 deletions modules/ROOT/partials/integrations/vue-tech-ref.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
** xref:license-key[`+licenseKey+`]
** xref:cloud-channel[`+cloud-channel+`]
** xref:disabled[`+disabled+`]
** xref:readonly[`+readonly+`]
** xref:id[`+id+`]
** xref:init[`+init+`]
** xref:initial-value[`+initial-value+`]
Expand Down Expand Up @@ -99,6 +100,7 @@ The editor accepts the following properties:
api-key="no-api-key"
cloud-channel="{productmajorversion}"
:disabled=false
:readonly=false
id="uuid"
:init= "{ }"
initial-value=""
Expand Down Expand Up @@ -205,6 +207,26 @@ The `+disabled+` property can dynamically switch the editor between a "disabled"
/>
----

[[readonly]]
=== `+readonly+`

The `+readonly+` property can dynamically switch the editor between a "read-only" mode (`+true+`) and the standard editable mode (`+false+`).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the description for disabled also be revised to remove '(read-only)'? Should we also describe the differences between the two modes?

The +disabled+ property can dynamically switch the editor between a "disabled" (read-only) mode (+true+) and the standard editable mode (+false+).


*Type:* `+Boolean+`

*Default value:* `+false+`

*Possible values:* `+true+`, `+false+`

==== Example: using `+readonly+`

[source,html]
----
<editor
:readonly=true
/>
----

[[id]]
=== `+id+`

Expand Down
Loading