Important changes to Tiny Cloud pricing > Find out more

Editor control identifiers

Complete list of control identifiers.

Contribute to this page

Use the toolbar or the menu configuration options.

Toolbar controls

Control Core/Plugin Description
aligncenter core Left aligns the current block or image.
alignjustify core Full aligns the current block or image.
alignleft core Left aligns the current block or image.
alignnone core Removes the alignment of the current block or image.
alignright core Right aligns the current block or image.
blockquote core Applies block quote format to the current block level element.
backcolor core Applies background color to selection.
bold core Applies the bold format to the current selection.
copy core Copies the current selection into clipboard.
cut core Cuts the current selection into clipboard.
fontselect core Dropdown list with font families to apply to selection.
fontsizeselect core Dropdown list with font sizes to apply to selection.
forecolor core Applies foreground/text color to selection.
formatselect core Dropdown list with block formats to apply to selection.
h1 core Changes current line to the “Heading 1” style.
h2 core Changes current line to the “Heading 2” style.
h3 core Changes current line to the “Heading 3” style.
h4 core Changes current line to the “Heading 4” style.
h5 core Changes current line to the “Heading 5” style.
h6 core Changes current line to the “Heading 6” style.
indent core Indents the current list item or block element.
italic core Applies the italic format to the current selection.
newdocument core Creates a new document.
outdent core Outdents the current list item or block element.
paste core Pastes the current clipboard into the editor.
redo core To redo the last undone operation.
remove core Removes (deletes) the selected content or the content before the cursor position.
removeformat core Removes the formatting from the current selection.
selectall core Selects all content in the editor.
strikethrough core Applies strike though format to the current selection.
styleselect core Dropdown list with styles to apply to selection.
subscript core Applies subscript format to the current selection.
superscript core Applies superscript format to the current selection.
underline core Applies the underline format to the current selection.
undo core To undo the last operation.
visualaid core Toggles the visual aids for invisible elements.
a11ycheck a11ychecker Opens the accessibility checker dialog.
anchor anchor Creates/Edits anchor elements.
casechange casechange Changes the case of text in a block selection to uppercase, lowercase, or title case.
charmap charmap Inserts custom characters into the editor.
checklist checklist Creates a checklist.
code code Opens the code dialog
codesample codesample Inserts code snippets with syntax highlighting.
addcomment comments Adds a comment at the cursor location or for the selected text.
showcomments comments Shows/hides comments present in the editor.
ltr directionality Sets the directionality of contents to ltr.
rtl directionality Sets the directionality of contents to rtl.
emoticons emoticons Opens the emoticons dialog.
formatpainter formatpainter Enables and disables format painting.
fullpage fullpage Documents properties for the full page.
fullscreen fullscreen Toggles fullscreen mode
help help Opens the help dialog
hr hr Inserts a horizontal rule into the editor.
image image Creates/Edits images within the editor.
editimage imagetools Edits the current image in the image dialog.
fliph imagetools Flips the current image horizontally.
flipv imagetools Flips the current image vertically.
imageoptions imagetools Opens the image options dialog.
rotateleft imagetools Rotates the current image counterclockwise.
rotateright imagetools Rotates the current image clockwise.
insertdatetime insertdatetime Inserts the current date/time
link link Creates/Edits links within the editor.
openlink link Opens the selected link in a new tab.
unlink link Removes links from the current selection.
bullist lists Formats the current selection as a bullet list.
numlist lists Formats the current selection as a numbered list.
media media Creates/Edits embedded media elements.
nonbreaking nonbreaking Inserts a nonbreaking space into the editor.
pagebreak pagebreak Inserts a pagebreak into the editor.
pageembed pageembed Opens the insert or edit iframe dialog.
pastetext paste Toggles plain text pasting mode on/off.
permanentpen permanentpen Enables and disables Permanent Pen formatting.
preview preview Previews the current editor contents.
print print Prints the current editor contents.
quickimage quickbars Inserts an image from the local machine.
quicklink quickbars Inserts a link in a quicker way.
quicktable quickbars Inserts a table 2x2.
restoredraft restoredraft Restores to the latest auto saved draft.
cancel save Cancels/Resets the editor contents to it’s initial state.
save save Saves the current editor contents to a form or ajax call.
searchreplace searchreplace Searches and/or Replaces contents within the editor.
spellchecker spellchecker or tinymcespellchecker Spellchecks the current editor contents.
table table Creates/Edits table elements.
tablecellprops table Opens the Cell properties dialog.
tablecopyrow table Copies the selected rows.
tablecutrow table Cuts the selected rows.
tabledelete table Deletes table.
tabledeletecol table Deletes the selected column.
tabledeleterow table Deletes the current row row.
tableinsertdialog table Opens the table properties dialog for creating a new table.
tableinsertcolafter table Inserts column after the current one.
tableinsertcolbefore table Inserts a column before the current one.
tableinsertrowafter table Inserts a new row after the current one.
tableinsertrowbefore table Inserts a new row before the current one.
tablemergecells table Merges the selected cells.
tablepasterowafter table Pastes rows after the current one.
tablepasterowbefore table Pastes rows before the current one.
tableprops table Opens the table properties dialog.
tablerowprops table Opens the Row properties dialog.
tablesplitcells table Splits the current merged cell.
template template Inserts templates into the editor.
toc toc Inserts a Table of Contents into the editor.
tocupdate toc Updates the Table of Contents block element.
insertfile tinydrive Opens the Tiny Drive file selector.
visualblocks visualblocks Toggles the visibility of block elements.
visualchars visualchars Toggles the visibility of non breaking character elements.
wordcount wordcount Opens a word count dialog showing word and character counts.

Menu controls

Control Core/Plugin Default Menu Location Description
align core Format Changes alignment to the current block or selection.
backcolor core Format Applies background color to selection.
blockformats core Format Applies block formats to current selection.
bold core Format Applies bold format to current selection.
codeformat core Format Applies inline code format to current selection.
copy core Edit Copies the current selection into clipboard.
cut core Edit Cuts the current selection into clipboard.
forecolor core Format Applies foreground/text color to selection.
formats core Format Menu of all available formats.
fontformats core Format Dropdown list with font families to apply to selection.
fontsizes core Format Dropdown list with font sizes to apply to selection.
italic core Format Applies italic format to current selection.
newdocument core File Creates a new document.
paste core Edit Pastes the current clipboard contents into editor.
redo core Edit To redo the last undo-ed operation.
removeformat core Format Removes all formats form the current selection.
selectall core Edit Selects all the editor contents.
strikethrough core Format Applies strikethrough format to current selection.
subscript core Format Applies subscript format to current selection.
superscript core Format Applies superscript format to current selection.
underline core Format Applies underline format to current selection.
undo core Edit To undo the last operation.
visualaid core View Toggles visual aids on/off.
a11ycheck a11ychecker Tools Opens the accessibility checker dialog.
anchor anchor Insert Inserts an anchor into the editor.
restoredraft autosave File Restores to the latest auto saved draft.
casechange casechange Not Applicable Changes the case of text in a block selection to uppercase, lowercase, or title case.
charmap charmap Insert Opens the charmap dialog.
code code View Opens the code dialog.
codesample codesample Insert Inserts code snippets with syntax highlighting.
addcomment comments Insert Adds a comment at the cursor location or for the selected text.
deleteallconversations comments File Deletes all comments from the editor.
showcomments comments View Shows/hides comments present in the editor.
emoticons emoticons Insert Opens the emoticons dialog.
fullpage fullpage Not Applicable Documents properties for the full page.
fullscreen fullscreen View Toggles fullscreen on/off.
help help Help Opens the help dialog.
hr hr Insert Inserts a horizontal rule into the editor.
image image Insert Opens the image dialog.
insertdatetime insertdatetime Insert Inserts the current date/time into the editor.
link link Insert Opens the link dialog.
openlink link Not Applicable Opens the selected link in a new tab.
unlink link Not Applicable Removes the hyperlink from the selected text.
media media Insert Opens the media dialog.
nonbreaking nonbreaking Insert Inserts a nonbreaking space into the editor.
pagebreak pagebreak Insert Inserts a pagebreak into the editor.
pageembed pageembed Insert Opens the insert or edit iframe dialog.
pastetext paste Edit Toggles paste as plain text on/off.
configurepermanentpen permanentpen Not Applicable Opens the Permanent Pen properties dialog.
permanentpen permanentpen Not Applicable Enables and disables Permanent Pen formatting.
preview preview File Previews the current document.
print print File Prints the current document.
searchreplace searchreplace Edit Opens the search/replace dialog.
spellchecker spellchecker or tinymcespellchecker Tools Toggles the spellchecker on/off.
cell table Table Cell menu item with related controls.
column table Table Column menu item with related controls.
deletetable table Table Deletes the current table.
inserttable table Table Inserts table grid menu.
inserttabledialog table Not Applicable Opens the table properties dialog for creating a new table.
row table Table Row menu item with related controls.
tableprops table Table Opens the table properties dialog.
template template Insert Inserts templates into the editor.
insertfile tinydrive Not Applicable Opens the Tiny Drive file selector.
spellcheckerlanguage tinymcespellchecker Tools Changes the language used for the spell checking process for the document or the currently selected text.
toc toc Insert Inserts a Table of Contents into the editor.
visualblocks visualblocks View Toggles block visibility on/off.
visualchars visualchars View Toggles visibility of nonbreaking spaces on/off.
wordcount wordcount Tools Opens a word count dialog showing word and character counts.

Can't find what you're looking for? Let us know.

Except as otherwise noted, the content of this page is licensed under the Creative Commons BY-NC-SA 3.0 License, and code samples are licensed under the Apache 2.0 License.