返回介绍

Editor control identifiers

发布于 2019-05-06 06:49:44 字数 13151 浏览 1074 评论 0 收藏 0

Use the toolbar or the menu configuration options.

Toolbar controls

ControlCore/PluginDescription
newdocumentcoreCreates a new document.
boldcoreApplies the bold format to the current selection.
italiccoreApplies the italic format to the current selection.
underlinecoreApplies the underline format to the current selection.
strikethroughcoreApplies strike though format to the current selection.
alignleftcoreLeft aligns the current block or image.
aligncentercoreLeft aligns the current block or image.
alignrightcoreRight aligns the current block or image.
alignjustifycoreFull aligns the current block or image.
alignnonecoreRemoves the alignment of the current block or image.
styleselectcoreDropdown list with styles to apply to selection.
formatselectcoreDropdown list with block formats to apply to selection.
fontselectcoreDropdown list with font families to apply to selection.
fontsizeselectcoreDropdown list with font sizes to apply to selection.
cutcoreCuts the current selection into clipboard.
copycoreCopies the current selection into clipboard.
pastecorePastes the current clipboard into the editor.
outdentcoreOutdents the current list item or block element.
indentcoreIndents the current list item or block element.
blockquotecoreApplies block quote format to the current block level element.
undocoreTo undo the last operation.
redocoreTo redo the last undone operation.
removeformatcoreRemoves the formatting from the current selection.
subscriptcoreApplies subscript format to the current selection.
superscriptcoreApplies superscript format to the current selection.
visualaidcoreToggles the visual aids for invisible elements.
insertcoreGroups various insert actions into one button.
hrhrInserts a horizontal rule into the editor.
bullistlistsFormats the current selection as a bullet list.
numlistlistsFormats the current selection as a numbered list.
linklinkCreates/Edits links within the editor.
unlinklinkRemoves links from the current selection.
openlinklinkOpens the selected link in a new tab.
imageimageCreates/Edits images within the editor.
charmapcharmapInserts custom characters into the editor.
pastetextpasteToggles plain text pasting mode on/off.
printprintPrints the current editor contents.
previewpreviewPreviews the current editor contents.
anchoranchorCreates/Edits anchor elements.
pagebreakpagebreakInserts a pagebreak into the editor.
spellcheckerspellcheckerSpellchecks the current editor contents.
searchreplacesearchreplaceSearches and/or Replaces contents within the editor.
visualblocksvisualblocksToggles the visibility of block elements.
visualcharsvisualcharsToggles the visibility of non breaking character elements.
codecodeOpens the code dialog
helphelpOpens the help dialog
fullscreenfullscreenToggles fullscreen mode
insertdatetimeinsertdatetimeInserts the current date/time
mediamediaCreates/Edits embedded media elements.
nonbreakingnonbreakingInserts a nonbreaking space into the editor.
savesaveSaves the current editor contents to a form or ajax call.
cancelsaveCancels/Resets the editor contents to it’s initial state.
tabletableCreates/Edits table elements.
tabledeletetableDeletes table.
tablecellpropstableOpens the Cell properties dialog.
tablemergecellstableMerges the selected cells.
tablesplitcellstableSplits the current merged cell.
tableinsertrowbeforetableInserts a new row before the current one.
tableinsertrowaftertableInserts a new row after the current one.
tabledeleterowtableDeletes the current row row.
tablerowpropstableOpens the Row properties dialog.
tablecutrowtableCuts the selected rows.
tablecopyrowtableCopies the selected rows.
tablepasterowbeforetablePastes rows before the current one.
tablepasterowaftertablePastes rows after the current one.
tableinsertcolbeforetableInserts a column before the current one.
tableinsertcolaftertableInserts column after the current one.
tabledeletecoltableDeletes the selected column.
rotateleftimagetoolsRotates the current image counterclockwise.
rotaterightimagetoolsRotates the current image clockwise.
flipvimagetoolsFlips the current image vertically.
fliphimagetoolsFlips the current image horizontally.
editimageimagetoolsEdits the current image in the image dialog.
imageoptionsimagetoolsOpens the image options dialog.
fullpagefullpageDocuments properties for the full page.
ltrdirectionalitySets the directionality of contents to ltr.
rtldirectionalitySets the directionality of contents to rtl.
emoticonsemoticonsOpens the emoticons dialog.
templatetemplateInserts templates into the editor.
forecolortextcolorApplies foreground/text color to selection.
backcolortextcolorApplies background color to selection.
restoredraftrestoredraftRestores to the latest auto saved draft.
insertfilemoxiemanagerOpens the MoxieManager dialog.
a11ychecka11ycheckerOpens the accessibility checker dialog.
toctocInserts a Table of Contents into the editor.
quickimagequickbarsInserts an image from the local machine.
quicktablequickbarsInserts a table 2x2.
quicklinkquickbarsInserts a link in a quicker way.

Menu controls

ControlCore/PluginDescription
newdocumentcoreCreates a new document.
undocoreTo undo the last operation.
redocoreTo redo the last undoed operation.
visualaidcoreToggles visual aids on/off.
cutcoreCuts the current selection into clipboard.
copycoreCopies the current selection into clipboard.
pastecorePastes the current clipboard contents into editor.
selectallcoreSelects all the editor contents.
boldcoreApplies bold format to current selection.
italiccoreApplies italic format to current selection.
underlinecoreApplies underline format to current selection.
strikethroughcoreApplies strikethrough format to current selection.
subscriptcoreApplies subscript format to current selection.
superscriptcoreApplies superscript format to current selection.
removeformatcoreRemoves all formats form the current selection.
codeformatcoreApplies inline code format to current selection.
blockformatscoreApplies block formats to current selection.
aligncoreChanges alignment to the current block or selection.
formatscoreMenu of all available formats.
linklinkOpens the link dialog.
openlinklinkOpens the selected link in a new tab.
imageimageOpens the image dialog.
charmapcharmapOpens the charmap dialog.
pastetextpasteToggles paste as plain text on/off.
printprintPrints the current document.
previewpreviewPreviews the current document.
hrhrInserts a horizontal rule into the editor.
anchoranchorInserts an anchor into the editor.
pagebreakpagebreakInserts a pagebreak into the editor.
spellcheckerspellcheckerToggles the spellchecker on/off.
searchreplacesearchreplaceOpens the search/replace dialog.
visualblocksvisualblocksToggles block visibility on/off.
visualcharsvisualcharsToggles visibility of nonbreaking spaces on/off.
codecodeOpens the code dialog.
fullscreenfullscreenToggles fullscreen on/off.
insertdatetimeinsertdatetimeInserts the current date/time into the editor.
mediamediaOpens the media dialog.
nonbreakingnonbreakingInserts a nonbreaking space into the editor.
inserttabletableInserts table grid menu.
tablepropstableOpens the table properties dialog.
deletetabletableDeletes the current table.
celltableCell menu item with related controls.
rowtableRow menu item with related controls.
columntableColumn menu item with related controls.
restoredraftautosaveRestores to the latest auto saved draft.
fullpagefullpageDocuments properties for the full page.
toctocInserts a Table of Contents into the editor.
helphelpOpens the help dialog

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文