From a8c17c4bba7c2a122c4e4cb2cbf2c98dcf3149a1 Mon Sep 17 00:00:00 2001 From: Karl Kemister-Sheppard Date: Tue, 27 May 2025 20:32:55 +1000 Subject: [PATCH] TINY-11907: Add new readonly prop to Angular integration. --- .../integrations/angular-tech-ref.adoc | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/modules/ROOT/partials/integrations/angular-tech-ref.adoc b/modules/ROOT/partials/integrations/angular-tech-ref.adoc index b074c9ac15..0352142831 100644 --- a/modules/ROOT/partials/integrations/angular-tech-ref.adoc +++ b/modules/ROOT/partials/integrations/angular-tech-ref.adoc @@ -8,6 +8,7 @@ ** xref:licensekey[`+licenseKey+`] ** xref:cloudchannel[`+cloudChannel+`] ** xref:disabled[`+disabled+`] +** xref:readonly[`+readonly+`] ** xref:id[`+id+`] ** xref:init[`+init+`] ** xref:initialvalue[`+initialValue+`] @@ -97,6 +98,7 @@ The editor accepts the following properties: apiKey="no-api-key" cloudChannel="{productmajorversion}" [disabled]="false" + [readonly]="false" id="" [init]="{ }" initialValue="" @@ -193,6 +195,24 @@ 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+`). + +*Type:* `+Boolean+` + +*Default value:* `+false+` + +*Possible values:* `+true+`, `+false+` + +==== Example: using `+readonly+` + +[source,html] +---- + +---- + [[id]] === `+id+`