Search results

DocumentEditorContainer

Document Editor container component.

Properties

documentEditor

DocumentEditor

Document Editor instance

enableLocalPaste

boolean

Enable local paste

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

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’.

Defaults to

restrictEditing

boolean

Restrict editing operation.

serviceUrl

string

Sfdt service URL.

showPropertiesPane

boolean

Show or hide properties pane.

toolbarModule

Toolbar

Document editor container’s toolbar module

Methods

addEventListener

Adds the handler to the given event listener.

Returns void

appendTo

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

dataBind

When invoked, applies the pending property changes immediately to the component.

Returns void

destroy

Destroys all managed resources used by this object.

Returns void

refresh

Applies all the pending property changes and render the component again.

Returns void

removeEventListener

Removes the handler from the given event listener.

Returns void

Inject

Dynamically injects the required modules to the component.

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

destroyed

EmitType<Object>

Triggers when the component is destroyed.

selectionChange

EmitType<ContainerSelectionChangeEventArgs>

Triggers whenever selection changes in the document editor container.