Document editor features are segregated into individual feature-wise modules to enable selective referencing. By default, the document editor displays the document in read-only mode. The required modules should be injected to extend its functionality. The following are the selective modules of document editor that can be included as required:
In addition to injecting the required modules in your application, enable corresponding properties to extend the functionality for a document editor instance. Refer to the following table.
Module | Property to Enable the functionality for a document editor instance | |
---|---|---|
@Html.EJS().DocumentEditor("container").EnablePrint(true).Render() |
||
SfdtExport | @Html.EJS().DocumentEditor("container").EnableSfdtExport(true).Render() |
|
Selection | @Html.EJS().DocumentEditor("container").EnableSelection(true).Render() |
|
Search | @Html.EJS().DocumentEditor("container").EnableSearch(true).Render() |
|
WordExport | @Html.EJS().DocumentEditor("container").EnableWordExport(true).Render() |
|
TextExport | @Html.EJS().DocumentEditor("container").EnableTextExport(true).Render() |
|
Editor | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).Render() |
|
EditorHistory | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableEditorHistory(true).Render() |
|
OptionsPane(Find) | @Html.EJS().DocumentEditor("container").EnableSearch(true).EnableOptionsPane(true).Render() |
|
OptionsPane(Find and Replace) | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableSearch(true).EnableOptionsPane(true).Render() |
|
ContextMenu | @Html.EJS().DocumentEditor("container").EnableSelection(true).EnableContextMenu(true).Render() |
|
ImageResizer | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableImageResizer(true).Render() |
|
HyperlinkDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableHyperlinkDialog(true).Render() |
|
TableDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableTableDialog(true).Render() |
|
FontDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableFontDialog(true).Render() |
|
ParagraphDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableParagraphDialog(true).Render() |
|
BookmarkDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableBookmarkDialog(true).Render() |
|
PageSetupDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnablePageSetupDialog(true).Render() |
|
TableOfContentsDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableTableOfContentsDialog(true).Render() |
|
ListDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableListDialog(true).Render() |
|
TablePropertiesDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableTablePropertiesDialog(true).Render() |
|
CellOptionsDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableTablePropertiesDialog(true).Render() |
|
BordersAndShadingDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableBordersAndShadingDialog(true).Render() |
|
TableOptionsDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableTableOptionsDialog(true).Render() |
|
StylesDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableStyleDialog(true).EnableStylesDialog(true).Render() |
|
StyleDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableStyleDialog(true).Render() |
|
BulletsAndNumberingDialog | @Html.EJS().DocumentEditor("container").IsReadOnly(false).EnableEditor(true).EnableStyleDialog(true).Render() |