Document Editor container component.
string
Current User
Defaults to ”
DocumentEditorSettingsModel
Defines the settings for DocumentEditor customization.
Defaults to {}
boolean
Gets or set a value indicating whether comment is enabled or not
Defaults to true
boolean
Enable rendering with strict Content Security policy.
boolean
Enable local paste
Defaults to false
boolean
Enable partial lock and edit module.
Defaults to false
boolean
Enable or disable persisting component’s state between page reloads.
Defaults to false
boolean
Enable or disable rendering component in right to left direction.
Defaults to false
boolean
Enable or disable spell checker in document editor container.
Defaults to false
boolean
Enable or disable toolbar in document editor container.
Defaults to true
boolean
Enable or disable track changes in document editor container.
Defaults to false
any[]
Add custom headers to XMLHttpRequest.
Defaults to []
string
Defines the height of the DocumentEditorContainer component
Defaults to ‘320px’
string
Layout Type
Defaults to Pages
string
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
Defaults to ”
boolean
Restrict editing operation.
Defaults to false
ContainerServerActionSettingsModel
Defines the settings of the DocumentEditorContainer service.
string
Sfdt service URL.
Defaults to ”
boolean
Show or hide properties pane.
Defaults to true
[]
Defines toolbar items for DocumentEditorContainer.
Defaults to [‘New’,‘Open’,‘Separator’,‘Undo’,‘Redo’,‘Separator’,‘Image’,‘Table’,‘Hyperlink’,‘Bookmark’,‘TableOfContents’,‘Separator’,‘Header’,‘Footer’,‘PageSetup’,‘PageNumber’,‘Break’,‘Separator’,‘Find’,‘Separator’,‘Comments’,‘TrackChanges’,‘LocalClipboard’,‘RestrictEditing’,‘Separator’,‘FormFields’]
string
User Selection Highlight Color
Defaults to ‘#FFFF00’
string
Defines the width of the DocumentEditorContainer component
Defaults to ‘100%’
number
Specifies the z-order for rendering that determines whether the dialog is displayed in front or behind of another component.
Defaults to 2000
DocumentEditor
Gets DocumentEditor instance.
Toolbar
Gets toolbar instance.
Adds the handler to the given event listener.
Returns void
Appends the control within the given HTML element
Parameter | Type | Description |
---|---|---|
selector (optional) | string | HTMLElement |
Target element where control needs to be appended |
Returns void
When invoked, applies the pending property changes immediately to the component.
Returns void
Destroys all managed resources used by this object.
Returns void
Returns the persistence data for component
Returns any
Returns the route element of the component
Returns HTMLElement
Applies all the pending property changes and render the component again.
Returns void
Removes the handler from the given event listener.
Returns void
Resizes the container component and its sub elements based on given size or client size.
Returns void
Set the default character format for document editor container
Parameter | Type | Description |
---|---|---|
characterFormat | CharacterFormatProperties |
Returns void
Set the default paragraph format for document editor container
Parameter | Type | Description |
---|---|---|
paragraphFormat | ParagraphFormatProperties |
Returns void
Set the default section format for document editor container
Parameter | Type | Description |
---|---|---|
sectionFormat | SectionFormatProperties |
Returns void
Dynamically injects the required modules to the component.
Returns void
EmitType<CommentActionEventArgs>
Triggers on comment actions(Post, edit, reply, resolve, reopen).
EmitType<BeforePaneSwitchEventArgs>
Trigger before switching panes in DocumentEditor.
EmitType<CommentDeleteEventArgs>
Triggers on deleting a comment.
EmitType<ContainerContentChangeEventArgs>
Triggers whenever the content changes in the document editor container.
EmitType<Object>
Triggers when user interaction prevented in content control.
EmitType<Object>
Triggers when the component is created
EmitType<BeforeOpenCloseCustomContentMenuEventArgs>
Triggers before opening the custom context-menu option.
EmitType<CustomContentMenuEventArgs>
Triggers while selecting the custom context-menu option.
EmitType<Object>
Triggers when the component is destroyed.
EmitType<ContainerDocumentChangeEventArgs>
Triggers whenever document changes in the document editor container.
EmitType<ContainerSelectionChangeEventArgs>
Triggers whenever selection changes in the document editor container.
EmitType<ServiceFailureArgs>
Triggers when the server action fails.
EmitType<ClickEventArgs>
Triggers when toolbar item is clicked.
EmitType<TrackChangeEventArgs>
Triggers Keyboard shortcut of TrackChanges.