Search results

DocumentEditorContainerComponent

ejs-documenteditor-container represents the Angular Document Editor Container.

<ejs-documenteditor-container></ejs-documenteditor-container>

Properties

documentEditor

DocumentEditor

Gets DocumentEditor instance.

enableLocalPaste

boolean

Enable local paste

enablePersistence

boolean

Enable or disable persisting component’s state between page reloads.

enableRtl

boolean

Enable or disable rendering component in right to left direction.

enableSpellCheck

boolean

Enable or disable spell checker in document editor container.

enableToolbar

boolean

Enable or disable toolbar in document editor container.

locale

string

Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.

restrictEditing

boolean

Restrict editing operation.

serverActionSettings

ContainerServerActionSettingsModel

Defines the settings of the DocumentEditorContainer service.

serviceUrl

string

Sfdt service URL.

showPropertiesPane

boolean

Show or hide properties pane.

Methods

destroy

Destroys all managed resources used by this object.

Returns void

setDefaultCharacterFormat

Set the default character format for document editor container

Parameter Type Description
characterFormat CharacterFormatProperties

Returns void

setDefaultParagraphFormat

Set the default paragraph format for document editor container

Parameter Type Description
paragraphFormat ParagraphFormatProperties

Returns void

Events

contentChange

EmitType<ContainerContentChangeEventArgs>

Triggers whenever the content changes in the document editor container.

created

EmitType<Object>

Triggers when the component is created

customContextMenuBeforeOpen

EmitType<BeforeOpenCloseCustomContentMenuEventArgs>

Triggers before opening the custom context-menu option.

customContextMenuSelect

EmitType<CustomContentMenuEventArgs>

Triggers while selecting the custom context-menu option.

destroyed

EmitType<Object>

Triggers when the component is destroyed.

documentChange

EmitType<ContainerDocumentChangeEventArgs>

Triggers whenever document changes in the document editor container.

selectionChange

EmitType<ContainerSelectionChangeEventArgs>

Triggers whenever selection changes in the document editor container.