Toolbar Buttons Available for TinyMCE

The following tables show all available toolbar items, including items provided by plugins. To retrieve a list from the editor, run the following command from the browser console:

tinyMCE.activeEditor.ui.registry.getAll().buttons

These toolbar buttons can be added to the editor using:

The core toolbar buttons

The following toolbar buttons are available for all TinyMCE instances without enabling any plugins:

Toolbar button identifier Description

aligncenter

Center aligns the current block or image.

alignjustify

Full aligns the current block or image.

alignleft

Left aligns the current block or image.

alignnone

Removes the alignment of the current block or image.

alignright

Right aligns the current block or image.

blockquote

Applies block quote format to the current block level element.

backcolor

Applies background color to selection.

bold

Applies the bold format to the current selection.

copy

Copies the current selection into clipboard.

cut

Cuts the current selection into clipboard.

fontselect

Dropdown list with font families to apply to selection.

fontsizeselect

Dropdown list with font sizes to apply to selection.

forecolor

Applies foreground/text color to selection.

formatselect

Dropdown list with block formats to apply to selection.

h1

Changes current line to the "Heading 1" style.

h2

Changes current line to the "Heading 2" style.

h3

Changes current line to the "Heading 3" style.

h4

Changes current line to the "Heading 4" style.

h5

Changes current line to the "Heading 5" style.

h6

Changes current line to the "Heading 6" style.

indent

Indents the current list item or block element.

italic

Applies the italic format to the current selection.

language

Dropdown list with languages to apply to the selection. This button requires the content_langs option.
NOTE: This feature is only available for TinyMCE 5.9 and later.

lineheight

Dropdown list with line heights to apply to selection. include::partial$misc/requires_5_5v.adoc[]

newdocument

Creates a new document.

outdent

Outdents the current list item or block element.

paste

Pastes the current clipboard into the editor.

redo

To redo the last undone operation.

remove

Removes (deletes) the selected content or the content before the cursor position.

removeformat

Removes the formatting from the current selection.

selectall

Selects all content in the editor.

strikethrough

Applies strike though format to the current selection.

styleselect

Dropdown list with styles to apply to selection.

subscript

Applies subscript format to the current selection.

superscript

Applies superscript format to the current selection.

underline

Applies the underline format to the current selection.

undo

To undo the last operation.

visualaid

Toggles the visual aids for invisible elements.

A11yChecker plugin

The A11yChecker plugin provides the following toolbar buttons:

Toolbar button identifier Description

a11ycheck

Opens the accessibility checker dialog.

For information on the A11yChecker plugin, see: Plugins - The A11yChecker plugin

Advanced Code Editor plugin

The Advanced Code Editor plugin provides the following toolbar buttons:

Toolbar button identifier Description

code

Opens the code dialog

For information on the Advanced Code Editor plugin, see: Plugins - The Advanced Code Editor plugin

Advanced Tables plugin

The Advanced Tables plugin provides the following toolbar buttons:

Toolbar button identifier Description

advtablerownumbering

Adds or removes (toggles) a row numbering column on the selected table. NOTE: This feature is only available for TinyMCE 5.9 and later.

For information on the Advanced Tables plugin, see: Plugins - The Advanced Tables plugin

Anchor plugin

The Anchor plugin provides the following toolbar buttons:

Toolbar button identifier Description

anchor

Creates/Edits anchor elements.

For information on the Anchor plugin, see: Plugins - The Anchor plugin

Autosave plugin

The Autosave plugin provides the following toolbar buttons:

Toolbar button identifier Description

restoredraft

Restores to the latest auto saved draft.

For information on the Autosave plugin, see: Plugins - The Autosave plugin

Case Change plugin

The Case Change plugin provides the following toolbar buttons:

Toolbar button identifier Description

casechange

Changes the case of text in a block selection to uppercase, lowercase, or title case.

For information on the Case Change plugin, see: Plugins - The Case Change plugin

Character Map plugin

The Character Map plugin provides the following toolbar buttons:

Toolbar button identifier Description

charmap

Inserts custom characters into the editor.

For information on the Character Map plugin, see: Plugins - The Character Map plugin

Checklist plugin

The Checklist plugin provides the following toolbar buttons:

Toolbar button identifier Description

checklist

Creates a checklist.

For information on the Checklist plugin, see: Plugins - The Checklist plugin

Code plugin

The Code plugin provides the following toolbar buttons:

Toolbar button identifier Description

code

Opens the code dialog

For information on the Code plugin, see: Plugins - The Code plugin

Code Sample plugin

The Code Sample plugin provides the following toolbar buttons:

Toolbar button identifier Description

codesample

Inserts code snippets with syntax highlighting.

For information on the Code Sample plugin, see: Plugins - The Code Sample plugin

Comments plugin

The Comments plugin provides the following toolbar buttons:

Toolbar button identifier Description

addcomment

Adds a comment at the cursor location or for the selected text.

showcomments

Shows/hides comments present in the editor.

For information on the Comments plugin, see: Plugins - The Comments plugin