Registry reference#
Plone Mosaic is heavily configured through the Plone Registry. This guide provides a reference for the most common configuration keys.
Global settings#
plone.app.mosaic.settings.disable_edit_bar
: Boolean (default: True).
Hides the standard Plone toolbar when the Mosaic editor is active, as it can be redundant.
Tile categories#
Tiles in the menu are grouped into categories. Categories are defined with weights to control their order.
Example category registration:
<records interface="plone.app.mosaic.interfaces.IWeightedDict"
prefix="plone.app.mosaic.tiles_categories.structure">
<value key="name">structure</value>
<value key="label">Structure</value>
<value key="weight">10</value>
</records>
Formats#
The menu allows applying CSS classes to tiles or rows.
plone.app.mosaic.formats.<name>
: Defines a format action.
Example:
<records interface="plone.app.mosaic.interfaces.IFormat"
prefix="plone.app.mosaic.formats.tile_align_center">
<value key="name">tile-align-center</value>
<value key="category">tile</value>
<value key="label">Center content</value>
<value key="action">tile-toggle-class</value>
<value key="icon">true</value>
<value key="weight">80</value>
</records>
TinyMCE customization#
You can customize the TinyMCE buttons shown when editing a rich text tile.
plone.app.mosaic.app_tiles.plone_app_standardtiles_html.available_actions
: List of toolbar buttons for the “Rich text” tile.
Example configuration to limit buttons:
<record name="plone.app.mosaic.app_tiles.plone_app_standardtiles_html.available_actions">
<value>
<element>toolbar-bold</element>
<element>toolbar-italic</element>
<element>toolbar-bullist</element>
<element>toolbar-numlist</element>
</value>
</record>
Available buttons include: toolbar-styleselect, toolbar-bold, toolbar-italic, toolbar-alignleft, toolbar-aligncenter, toolbar-alignright, toolbar-alignjustify, toolbar-bullist, toolbar-numlist, toolbar-table, toolbar-ploneimage, toolbar-unlink, toolbar-plonelink, toolbar-code.