Sample document: ~/Content/HtmlEditor/SampleImportDocument.rtf
Import the document
|
This demo illustrates how to import and export contents of the DevExpress MVC HTML Editor.
With the HTML Editor, you can import and export editor contents from/to various document formats, including:
To import or export in code, call the HtmlEditorExtension.Import or HtmlEditorExtension.Export static method. You can allow end-users to export editor contents via a specially designed toolbar item (ToolbarExportDropDownButton) that provides all the required functionality out of the box. All you have to do is add it to the editor's toolbar and customize output document formats available for end-users via the Items collection.