Appearance
Control Panel Settings
The editor has two side panels around the template:
- The rail, a column of icons on the left by default, opens one panel at a time: Add element, Settings, and, when those features are enabled, Comments, AI, and Autosaves.
- The property panel, on the right by default, shows the settings of the selected block or section.

The editor opens with no rail panel open. On desktop, the property panel is open beside the template. Clicking a rail icon opens its panel, and clicking the same icon again closes it.
To open the Add element panel as soon as the editor loads, set startWithOpenElementsPanel: true. When the premade templates picker is shown first, the panel opens once the user leaves it. The option is ignored on touch devices and on screens narrower than 1024 pixels, where the panel would cover the template.
Control panel position
The mainMenuAlign option decides which side the rail occupies. It defaults to left, so only the right-hand variant needs setting:
ts
mainMenuAlign: 'right', // left by defaultThe whole layout mirrors: the rail and its panels move to the right, and the property panel moves to the left. This suits platforms whose own navigation lives on the right.
INFO
mainMenuAlign positions editor chrome and nothing else. It does not switch the interface to a right-to-left layout. RTL handling follows the language option instead, and applies automatically for Arabic and Hebrew. See Internationalization.

Control panel visibility
The hideSelectionPanel option collapses the property panel, the one that shows the selected element's settings. The rail and its panels are not affected.
ts
hideSelectionPanel: true | false, // false by defaultWith it set, the property panel starts collapsed and the template takes the extra width. Selecting a block or section opens the panel again on screens 1024 pixels wide and wider. Preview mode hides the panel regardless of this setting.
There are two ways to collapse and reopen the panel.
1. Custom UI element
Bind a button or other control in your own interface to this function:
ts
editor.toggleSelectionPanel();Each call flips the property panel between shown and hidden.
WARNING
The toggle is one-way, from your application into the editor. Nothing is emitted back when a user toggles the panel from inside the editor, so a custom button cannot track the panel's current state.
Complete list of all callable functions is available here.
2. Built-in editor UI toggle
The editor renders its own collapse handle at the top of the property panel. Once the panel is collapsed, the handle moves to the edge of the editor window, and clicking it brings the panel back. The handle is shown by default. Remove it with hideSelectionPanelExpand:
ts
hideSelectionPanelExpand: true | false, // false by defaultSet it to true to remove the handle. Without the handle, users cannot collapse the property panel themselves, and a panel collapsed by hideSelectionPanel does not reopen when they select something; only editor.toggleSelectionPanel() brings it back.

Hiding the Settings tab
The hideSettingsTab option removes the Settings icon from the rail, so users cannot open the template-level settings. The other rail panels and the property panel are not affected.
ts
hideSettingsTab: true | false, // false by defaultIf the Settings panel is open when the option is applied, for example through editor.updateOptions(), it closes.
Phones and tablets
On screens narrower than 1024 pixels:
- The rail panels and the property panel open over the template instead of next to it. Tapping the template closes them.
- The property panel starts collapsed. Selecting an element doesn't open it, so it doesn't cover what was just tapped.
- The collapse handle is always shown, whatever
hideSelectionPanelExpandsays.
On touch devices:
- The Add element icon is hidden, and blocks can't be dragged onto the template. A notice titled "Optimized for desktop" says that some features are simplified on the device.
- Tapping a merge tag in text works the same as clicking it with a mouse.
The Add element icon is also hidden on any screen narrower than 768 pixels.
The rest of the interface fits small screens too. The top bar scrolls sideways, the TinyMCE toolbar wraps onto more lines, and the preview, notifications, and File Manager fit the screen. When the template is wider than the screen, a zoom control switches between 100% and Fit.
Related options
enableSubjectLine adds subject line editing to the Settings panel. It defaults to false and is listed in the options reference.
