Example of undefined in Javascript Rich Text Editor Control

/
/
Import from Word

This example illustrates how to use the import/export feature of the Rich Text Editor to import the Word document into the editor.

More Details...

Description

This sample demonstrates the Import/Export feature of the Rich Text Editor, which allows users to import the Word document into the editor. The word document can be imported as Rich Text Editor content by clicking the import to Word icon, browsing for the document, and uploading it to the server, where it is converted to HTML and then sent to the Rich Text Editor as its value. Injecting the ImportExport Module The ImportExport feature is provided as an injectable module. To use it, inject the module using the following code: RichTextEditor.Inject(Toolbar, Link, Image, HtmlEditor, QuickToolbar, ImportExport);