出处:http://dojotoolkit.org/documentation/tutorials/1.7/editor/
<link rel="stylesheet" href="/js/dojox/editor/plugins/resources/css/PageBreak.css" />
<link rel="stylesheet" href="/js/dojox/editor/plugins/resources/css/ShowBlockNodes.css" />
<link rel="stylesheet" href="/js/dojox/editor/plugins/resources/css/Preview.css" />
<link rel="stylesheet" href="/js/dojox/editor/plugins/resources/css/Save.css" />
<link rel="stylesheet" href="/js/dojox/editor/plugins/resources/css/Breadcrumb.css" />
<link rel="stylesheet" href="/js/dojox/editor/plugins/resources/css/FindReplace.css" />
<link rel="stylesheet" href="/js/dojox/editor/plugins/resources/css/PasteFromWord.css" />
<link rel="stylesheet" href="/js/dojox/editor/plugins/resources/css/InsertAnchor.css" />
<link rel="stylesheet" href="/js/dojox/editor/plugins/resources/css/CollapsibleToolbar.css" />
<link rel="stylesheet" href="/js/dojox/editor/plugins/resources/css/Blockquote.css" />
<link rel="stylesheet" href="/js/dojox/editor/plugins/resources/css/Smiley.css" />
<script>
// Include the class
require([
"dijit/Editor",
"dojo/parser",
"dojox/editor/plugins/PrettyPrint",
"dojox/editor/plugins/PageBreak",
"dojox/editor/plugins/ShowBlockNodes",
"dojox/editor/plugins/Preview",
"dojox/editor/plugins/Save",
"dojox/editor/plugins/ToolbarLineBreak",
"dojox/editor/plugins/NormalizeIndentOutdent",
"dojox/editor/plugins/Breadcrumb",
"dojox/editor/plugins/FindReplace",
"dojox/editor/plugins/PasteFromWord",
"dojox/editor/plugins/InsertAnchor",
"dojox/editor/plugins/CollapsibleToolbar",
"dojox/editor/plugins/TextColor",
"dojox/editor/plugins/Blockquote",
"dojox/editor/plugins/Smiley",
"dojox/editor/plugins/UploadImage"
]);
</script>
<div data-dojo-type="dijit.Editor" style="width:800px;min-height:100px;" data-dojo-props="extraPlugins:['prettyprint','pagebreak','showblocknodes','preview','save','toolbarlinebreak','normalizeindentoutdent','breadcrumb','findreplace','pastefromword','insertanchor','collapsibletoolbar','foreColor', 'hiliteColor','blockquote','smiley','uploadImage']">
This is the <strong>default</strong> content.
</div>