layoutMode
Description
Optional. Specifies the layout mode for the main editor area
Usage
layoutMode: "classic" | "document";
The "classic" mode fills the entire edit area. The "document" mode displays the edit area as a document page.
Default config
layoutMode: "classic";
Example
// initialize RichText
new richtext.Richtext("#root", {
layoutMode: "document" // initializes RichText with "document" mode by default
// other configuration properties
});
Change log: The property was added in v2.0 instead of the removed mode property
Related articles: Configuration
Related sample: RichText. Initialization