Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

createOptions Function

Creates an object that contains Rich Text Editor options with default values.

#Declaration

TypeScript
export function createOptions(): Options

#Returns

Type Description
Options

An object that contains Rich Text Editor options.

#Remarks

Use the createOptions method to create an object that contains default Rich Text Editor settings. You can customize the settings and call the create(htmlElement, options) method to create a Rich Text Editor object.

const options = DevExpress.RichEdit.createOptions();
options.width = '1700px';
options.height = '800px';
var richContainer = document.getElementById("rich-container");
const richEdit = DevExpress.RichEdit.create(richContainer, options);