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/webcomponent-tech-ref.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
** xref:loading-plugins[Loading plugins]
** xref:setting-the-editor-width[Setting the editor width]
** xref:setting-the-editor-height[Setting the editor height]
** xref:setting-readonly[Setting the editor to readonly]
** xref:setting-disabled[Setting the editor to disabled]
** xref:setting-the-toolbar[Setting the toolbar]
** xref:setting-the-toolbar-mode[Setting the toolbar mode]
** xref:setting-the-menu-bar[Setting the menu bar]
Expand Down Expand Up @@ -146,6 +148,26 @@ To set the height of the editor (content area and user interface), use the `+hei
<tinymce-editor height="15em"></tinymce-editor>
----


[[setting-readonly]]
=== Setting readonly mode

To set the editor's mode to `readonly`.

[source,html]
----
<tinymce-editor readonly></tinymce-editor>
----

[[setting-disaled-state]]
=== Setting disabled state
To set the editor to a disabled state.

[source,html]
----
<tinymce-editor disabled></tinymce-editor>
----

[[setting-the-toolbar]]
=== Setting the toolbar

Expand Down