the mode of displaying editor layout
webix.ui({
view: "editor",
value: "<p>Hello World!</p>",
layoutMode: "document",
upload: "https://docs.webix.com/richtext-backend/images"
});
As layoutMode is a reactive property, you can also access and alter it via the widget state:
// switching to the "document" layout mode
$$("editor").getState().layoutMode = "document";