Search results

DocumentEditorContainerComponent

Represents react Document Editor Container

<DocumentEditorContainer></DocumentEditorContainer>

Properties

documentEditor

DocumentEditor

Gets DocumentEditor instance.

enableLocalPaste

boolean

Enable local paste

Defaults to true

enablePersistence

boolean

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

Defaults to false

enableRtl

boolean

Enable or disable rendering component in right to left direction.

Defaults to false

enableSpellCheck

boolean

Enable or disable spell checker in document editor container.

Defaults to false

enableToolbar

boolean

Enable or disable toolbar in document editor container.

Defaults to true

locale

string

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

Defaults to

restrictEditing

boolean

Restrict editing operation.

Defaults to false

serverActionSettings

ContainerServerActionSettingsModel

Defines the settings of the DocumentEditorContainer service.

serviceUrl

string

Sfdt service URL.

Defaults to

showPropertiesPane

boolean

Show or hide properties pane.

Defaults to true

Methods

destroy

Destroys all managed resources used by this object.

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.