DocumentEditorSettingsModel

23 Sep 20252 minutes to read

Interface for a class DocumentEditorSettings

Properties

allowDragAndDrop boolean

Enable or Disable moving selected content within Document Editor

autoResizeSettings AutoResizeSettingsModel

Specified the auto resize settings.

collaborativeEditingSettings CollaborativeEditingSettingsModel

Gets ot sets the collaborative editing settings.

colorPickerSettings ColorPickerModel

Gets or sets color picker settings to customize the color picker used in Document Editor.

enableOptimizedTextMeasuring boolean

Gets or sets a value indicating whether to use optimized text measuring approach to match Microsoft Word pagination.

enableScreenReader boolean

Enables or disables screen reader support in the Document Editor. When set to true, the editor will expose necessary accessibility information for screen reader tools.

fontFamilies string[]

Specifies the user preferred font family of Document Editor.

formFieldSettings FormFieldSettingsModel

Gets or sets the form field settings.

highlightEditableRanges boolean

Gets or sets a value indicating whether to highlight the editable ranges in the document where the current user can edit.

maximumColumns number

Gets or sets the maximum number of columns allowed while inserting a table in Document editor component.

The maximum value is 63, as per Microsoft Word application and you can set any value less than 63 to this property. If you set any value greater than 63, then Syncfusion Document editor will automatically reset as 63.

maximumRows number

Gets or sets the maximum number of rows allowed while inserting a table in Document editor component.

The maximum value is 32767, as per Microsoft Word application and you can set any value less than 32767 to this property. If you set any value greater than 32767, then Syncfusion Document editor will automatically reset as 32767.

mentionSettings MentionModel

Gets ot sets the mention configuration used in Document Editor.

optimizeSfdt boolean

Describes whether to reduce the resultant SFDT file size by minifying the file content

pasteAsNewParagraph boolean

Gets or sets a value indicating whether the final paragraph of pasted content should be appended as a new paragraph in the Document Editor.

popupTarget HTMLElement

Gets or sets a value indicating where to append the pop up element

printDevicePixelRatio number

Specifies the device pixel ratio for the image generated for printing.

Increasing the device pixel ratio will increase the image file size, due to high resolution of image.

revisionSettings RevisionSettingsModel

Gets or sets the revision settings.

searchHighlightColor string

Specifies the user preferred Search Highlight Color of Document Editor.

showBookmarks boolean

Gets or sets a value indicating whether to show square brackets around bookmarked items.

showHiddenMarks boolean

Gets or sets a value indicating whether to show the hidden characters like spaces, tab, paragraph marks, and breaks.

showNavigationPane boolean

Gets or sets a value indicating whether to display navigation pane in Document Editor.

showRuler boolean

Gets or sets a value indicating whether to display ruler in Document Editor.