Skip to content

Commit 60a9b9f

Browse files
committed
DOC-3393: Add plugins and toolbar multi-plugin example to quickstart
Add "Configure plugins and toolbar" section with plugins: 'image code' and toolbar example to the quickstart partial to address Context7 benchmark Q2 (56/100).
1 parent 02966c5 commit 60a9b9f

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

modules/ROOT/partials/install/basic-quickstart-base.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,21 @@ Adding this content to an HTML file and opening it in a web browser will load a
183183

184184
liveDemo::default[]
185185

186+
== Configure plugins and toolbar
187+
188+
To enable specific plugins and customize the toolbar, use the `+plugins+` and `+toolbar+` options. For example, to add the `+image+` and `+code+` plugins with their toolbar buttons:
189+
190+
[source,js]
191+
----
192+
tinymce.init({
193+
selector: '#mytextarea',
194+
plugins: 'image code',
195+
toolbar: 'undo redo | image code'
196+
});
197+
----
198+
199+
Plugin names are space-separated. Toolbar items can include plugin-provided buttons (such as `+image+` and `+code+`) and separators (`+|+`). For a full list of available plugins, see xref:plugins.adoc[Plugins].
200+
186201
ifeval::["{productSource}" == "cloud"]
187202
== Add your API key
188203

0 commit comments

Comments
 (0)