Skip to content

Commit a76c253

Browse files
tiny-ben-trankemister85
authored andcommitted
TINY-11911: Add disabled and readonly to the web component tech ref (#3739)
1 parent bfbf03f commit a76c253

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

modules/ROOT/partials/integrations/webcomponent-tech-ref.adoc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
** xref:loading-plugins[Loading plugins]
99
** xref:setting-the-editor-width[Setting the editor width]
1010
** xref:setting-the-editor-height[Setting the editor height]
11+
** xref:setting-readonly[Setting the editor to readonly]
12+
** xref:setting-disabled[Setting the editor to disabled]
1113
** xref:setting-the-toolbar[Setting the toolbar]
1214
** xref:setting-the-toolbar-mode[Setting the toolbar mode]
1315
** xref:setting-the-menu-bar[Setting the menu bar]
@@ -146,6 +148,26 @@ To set the height of the editor (content area and user interface), use the `+hei
146148
<tinymce-editor height="15em"></tinymce-editor>
147149
----
148150

151+
152+
[[setting-readonly]]
153+
=== Setting readonly mode
154+
155+
To set the editor's mode to `readonly`.
156+
157+
[source,html]
158+
----
159+
<tinymce-editor readonly></tinymce-editor>
160+
----
161+
162+
[[setting-disaled-state]]
163+
=== Setting disabled state
164+
To set the editor to a disabled state.
165+
166+
[source,html]
167+
----
168+
<tinymce-editor disabled></tinymce-editor>
169+
----
170+
149171
[[setting-the-toolbar]]
150172
=== Setting the toolbar
151173

0 commit comments

Comments
 (0)