Mosaic registry configuration

It’s possible to hide specific content layouts being available in Mosaic editor’s Select layout-menu with a custom registry configuration. For example, the following configuration will

  1. hide custom/basic.html from all content types
  2. hide default/basic.html from MyPortalType
<record name="">
  <field type="plone.registry.field.List">
    <title>Hidden content layouts</title>
    <value_type type="plone.registry.field.TextLine" />
  <value purge="true">

Enabling review action

Mosaic includes a layout preview action (for previewing the currently edited layout without the editor) in Layout menu button. It’s hidden by default, but can be enabled with the following registry.xml entry:

<record name="">
  <value purge="false">

In addition, preview action can be moved out of the layout as a separate toolbar button with:k

<records prefix=""
  <value key="fieldset"></value>
  <value key="weight">40</value>