Menu Items Available for TinyMCE

The following tables show all available menu 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().menuItems

These menu items can be added to the editor using:

The core menu items

The following menu items are available for all TinyMCE instances without enabling any plugins:

Menu item identifier Default Menu Location Description

align

Format

Changes alignment to the current block or selection.

backcolor

Format

Applies background color to selection.

blocks

Format

Applies block formats to current selection.

bold

Format

Applies bold format to current selection.

codeformat

Format

Applies inline code format to current selection.

copy

Edit

Copies the current selection into clipboard.

cut

Edit

Cuts the current selection into clipboard.

forecolor

Format

Applies foreground/text color to selection.

fontfamily

Format

Dropdown list with font families to apply to selection.

fontsize

Format

Dropdown list with font sizes to apply to selection.

hr

Insert

Inserts a horizontal rule into the editor.

italic

Format

Applies italic format to current selection.

language

Format

Dropdown list with languages to apply to the selection. This item requires the content_langs option.

lineheight

Format

Dropdown list with line heights to apply to selection.

newdocument

File

Creates a new document.

paste

Edit

Pastes the current clipboard contents into editor.

pastetext

Edit

Toggles paste as plain text on/off. When in plain text mode, all rich content is converted into plain text.

print

File

Prints the current document.

redo

Edit

To redo the last undo-ed operation.

removeformat

Format

Removes all formats form the current selection.

selectall

Edit

Selects all the editor contents.

strikethrough

Format

Applies strikethrough format to current selection.

styles

styles

Dropdown list with styles to apply to selection.

subscript

Format

Applies subscript format to current selection.

superscript

Format

Applies superscript format to current selection.

underline

Format

Applies underline format to current selection.

undo

Edit

To undo the last operation.

visualaid

View

Toggles visual aids on/off.

A11yChecker plugin

The A11yChecker plugin provides the following menu items:

Menu item identifier Default Menu Location Description

a11ycheck

Tools

Opens the accessibility checker dialog.

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

Accordion plugin

The Accordion plugin provides the following menu items:

Menu item identifier Default Menu Location Description

accordion

Insert

Executes the InsertAccordion command, adding an Accordion element at the current location.

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

Advanced Code Editor plugin

The Advanced Code Editor plugin provides the following menu items:

Menu item identifier Default Menu Location Description

code

View

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 menu items:

Menu item identifier Default Menu Location Description

advtablesort

Table

Advanced tables sort menu item with related controls.

advtablerownumbering

Not Applicable

Adds or removes (toggles) a row numbering column on the selected table.

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

Advanced Typography plugin

The Advanced Typography plugin provides the following menu items:

Menu item identifier Default Menu Location Description

typography

Custom

Provides two sub-menu items: Enhance, which runs the currently active set of Advanced Typography rules over the document or the current selection; and Language, which displays a further menu listing all the language-specific rule sets that can be selected. Note that selecting a language sub-menu item both switches to that language’s rule set and runs that language’s rule set over the document or the current selection.

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

AI Assistant plugin

The AI Assistant plugin provides the following menu items:

Menu item identifier Default Menu Location Description

aidialog

Tools

Open the AI Assistant dialog.

aishortcuts

Tools

Opens the AI Assistant shortcuts sub-menu, displaying the available shortcut prompts for querying the AI API.

For information on the AI Assistant plugin, see: Plugins - The AI Assistant plugin

Anchor plugin

The Anchor plugin provides the following menu items:

Menu item identifier Default Menu Location Description

anchor

Insert

Inserts an anchor into the editor.

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

Autosave plugin

The Autosave plugin provides the following menu items:

Menu item identifier Default Menu Location Description

restoredraft

File

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 menu items:

Menu item identifier Default Menu Location Description

casechange

Not Applicable

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 menu items:

Menu item identifier Default Menu Location Description

charmap

Insert

Opens the charmap dialog.

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

Checklist plugin

The Checklist plugin provides the following menu items:

Menu item identifier Default Menu Location Description

checklist

Not Applicable

Creates a checklist.

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

Code plugin

The Code plugin provides the following menu items:

Menu item identifier Default Menu Location Description

code

View

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 menu items:

Menu item identifier Default Menu Location Description

codesample

Insert

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 menu items:

Menu item identifier Default Menu Location Description

addcomment

Insert

Adds a comment at the cursor location or to the selected content.

deleteallconversations

File

Deletes all comments from the editor.

showcomments

View

Shows/hides comments present in the editor.

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

Emoticons plugin

The Emoticons plugin provides the following menu items:

Menu item identifier Default Menu Location Description

emoticons

Insert

Opens the Emojis dialog.

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

Export plugin

The Export plugin provides the following menu items:

Menu item identifier Default Menu Location Description

export

File

Downloads the content from the editor in the selected format.

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

Footnotes plugin

The Footnotes plugin provides the following menu items:

Menu item identifier Default Menu Location Description

footnotes

Insert

Inserts a superscripted footnote number into the editor at the selection, and creates a new entry in the footnotes section linked to that footnote.

footnotesupdate

Not Applicable

Manually updates the state of all footnotes in a TinyMCE document.

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

Full Screen plugin

The Full Screen plugin provides the following menu items:

Menu item identifier Default Menu Location Description

fullscreen

View

Toggles fullscreen on/off.

For information on the Full Screen plugin, see: Plugins - The Full Screen plugin

Help plugin

The Help plugin provides the following menu items:

Menu item identifier Default Menu Location Description

help

Help

Opens the help dialog.

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

Image plugin

The Image plugin provides the following menu items:

Menu item identifier Default Menu Location Description

image

Insert

Opens the image dialog.

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

Insert Date/Time plugin

The Insert Date/Time plugin provides the following menu items:

Menu item identifier Default Menu Location Description

insertdatetime

Insert

Inserts the current date/time into the editor.

For information on the Insert Date/Time plugin, see: Plugins - The Insert Date/Time plugin

The Link plugin provides the following menu items:

Menu item identifier Default Menu Location Description

link

Insert

Opens the link dialog.

openlink

Not Applicable

Opens the selected link in a new tab.

unlink

Not Applicable

Removes the hyperlink from the selected text.

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

Lists plugin

The Lists plugin provides the following menu items:

Menu item identifier Default Menu Location Description

listprops

Not applicable

Opens the List Properties dialog. Only works on numbered lists.

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

Media plugin

The Media plugin provides the following menu items:

Menu item identifier Default Menu Location Description

media

Insert

Opens the media dialog.

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

Merge Tags plugin

The Merge Tags plugin provides the following menu items:

Menu item identifier Default Menu Location Description

mergetags

Insert

Inserts a merge tag from a nested menu. The nested menu contains the Merge Tags list, as specified in mergetags_list

For information on the Merge Tags plugin, see: Plugins - The Merge Tags plugin

Nonbreaking Space plugin

The Nonbreaking Space plugin provides the following menu items:

Menu item identifier Default Menu Location Description

nonbreaking

Insert

Inserts a nonbreaking space into the editor.

For information on the Nonbreaking Space plugin, see: Plugins - The Nonbreaking Space plugin

Page Break plugin

The Page Break plugin provides the following menu items:

Menu item identifier Default Menu Location Description

pagebreak

Insert

Inserts a pagebreak into the editor.

For information on the Page Break plugin, see: Plugins - The Page Break plugin

Page Embed plugin

The Page Embed plugin provides the following menu items:

Menu item identifier Default Menu Location Description

pageembed

Insert

Opens the insert or edit iframe dialog.

For information on the Page Embed plugin, see: Plugins - The Page Embed plugin

Permanent Pen plugin

The Permanent Pen plugin provides the following menu items:

Menu item identifier Default Menu Location Description

configurepermanentpen

Not Applicable

Opens the Permanent Pen properties dialog.

permanentpen

Not Applicable

Enables and disables Permanent Pen formatting.

For information on the Permanent Pen plugin, see: Plugins - The Permanent Pen plugin

Preview plugin

The Preview plugin provides the following menu items:

Menu item identifier Default Menu Location Description

preview

File

Previews the current document.

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

Search and Replace plugin

The Search and Replace plugin provides the following menu items:

Menu item identifier Default Menu Location Description

searchreplace

Edit

Opens the search/replace dialog.

For information on the Search and Replace plugin, see: Plugins - The Search and Replace plugin

Spell Checker Pro plugin

The Spell Checker Pro plugin provides the following menu items:

Menu item identifier Default Menu Location Description

spellchecker

Tools

Toggles the spellchecker on/off.

spellcheckerlanguage

Tools

Changes the language used for the spell checking process for the document or the currently selected text.

For information on the Spell Checker Pro plugin, see: Plugins - The Spell Checker Pro plugin

Spelling Autocorrect plugin

The Spelling Autocorrect plugin provides the following menu items:

Menu item identifier Default Menu Location Description

autocorrect

Tools

Toggles autocorrect capabilities on or off.

capitalization

Tools

Toggles capitalization capabilities on or off.

For information on the Spelling Autocorrect plugin, see: Plugins - The Spelling Autocorrect plugin

Table plugin

The Table plugin provides the following menu items:

Menu item identifier Default Menu Location Description

inserttable

Table

Inserts table grid menu.

inserttabledialog

Not Applicable

Opens the table properties dialog for creating a new table.

tableprops

Table

Opens the table properties dialog.

deletetable

Table

Deletes the current table.

cell

Table

Cell menu item with related controls.

tablemergecells

Table

Merges all currently selected cells.

tablesplitcells

Table

Splits merged cells.

tablecellprops

Table

Opens the cell properties dialog.

column

Table

Column menu item with related controls.

tableinsertcolumnbefore

Table

Insert column before the currently selected column.

tableinsertcolumnafter

Table

Insert column after the currently selected column.

tablecutcolumn

Table

Cut the currently selected column or columns.

tablecopycolumn

Table

Copy the currently selected column or columns.

tablepastecolumnbefore

Table

Paste column before the currently selected column.

tablepastecolumnafter

Table

Paste column after the currently selected column.

tabledeletecolumn

Table

Deletes the currently selected column or columns.

row

Table

Row menu item with related controls.

tableinsertrowbefore

Table

Inserts row before the currently selected row.

tableinsertrowafter

Table

Inserts row after the currently selected row.

tablecutrow

Table

Cut the currently selected row or rows.

tablecopyrow

Table

Copy the currently selected row or rows.

tablepasterowbefore

Table

Paste row before the currently selected row.

tablepasterowafter

Table

Paste row after the currently selected row.

tablerowprops

Table

Opens the row properties dialog.

tabledeleterow

Table

Deletes the currently selected row or rows.

tableclass

Not Applicable

Adds or removes pre-defined classes to the selected table.

tablecellclass

Not Applicable

Adds or removes pre-defined classes to selected cells in the table.

tablecellvalign

Not Applicable

Sets the vertical alignment of the selected cells.

tablecellborderwidth

Not Applicable

Sets the border width of the selected cells.

tablecellborderstyle

Not Applicable

Sets the style of the border for all selected cells.

tablecaption

Not Applicable

Toggles the caption on the selected table.

tablecellbackgroundcolor

Not Applicable

Sets the background color of the selected cells.

tablecellbordercolor

Not Applicable

Sets the border color of the selected cells.

tablerowheader

Not Applicable

Toggle a row between being a table header row or a table body row.

tablecolheader

Not Applicable

Toggle a column between being a table header column and a table body column.

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

Table of Contents plugin

The Table of Contents plugin provides the following menu items:

Menu item identifier Default Menu Location Description

tableofcontents

Insert

Inserts a Table of Contents into the editor.

For information on the Table of Contents plugin, see: Plugins - The Table of Contents plugin

Template plugin

The Template plugin provides the following menu items:

Menu item identifier Default Menu Location Description

template

Insert

Inserts templates into the editor.

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

Tiny Drive plugin

The Tiny Drive plugin provides the following menu items:

Menu item identifier Default Menu Location Description

insertfile

Not Applicable

Opens the Tiny Drive file selector.

For information on the Tiny Drive plugin, see: Plugins - The Tiny Drive plugin

Visual Blocks plugin

The Visual Blocks plugin provides the following menu items:

Menu item identifier Default Menu Location Description

visualblocks

View

Toggles block visibility on/off.

For information on the Visual Blocks plugin, see: Plugins - The Visual Blocks plugin

Visual Characters plugin

The Visual Characters plugin provides the following menu items:

Menu item identifier Default Menu Location Description

visualchars

View

Toggles visibility of nonbreaking spaces on/off.

For information on the Visual Characters plugin, see: Plugins - The Visual Characters plugin

Word Count plugin

The Word Count plugin provides the following menu items:

Menu item identifier Default Menu Location Description

wordcount

Tools

Opens a word count dialog showing word and character counts.

For information on the Word Count plugin, see: Plugins - The Word Count plugin