layoutMode
Description
Optional. Specifies the layout mode for the main editor area
Usage
layoutMode: "classic" | "document";
The "classic"
mode represents the edit area that fits the entire page. The "document"
mode closely represent the real document sizes (sizes used: A4, A5, A6, A7).
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