Skip to content

pantoken / renderers/tinymce/src / LayoutsPluginOptions

Interface: LayoutsPluginOptions

Options for createLayoutsPlugin.

Properties

layouts?

optional layouts?: readonly PageLayout[]

The page layouts offered in the "Insert layout" picker. Defaults to pageLayouts.


onInsert?

optional onInsert?: (layout) => void

Called after a layout is inserted (e.g. to refresh a live preview).

Parameters

layout

PageLayout

Returns

void