Closed jacobkossman closed 8 months ago
Existing section method could not receive additional props like class, presets etc. This enables the following:
module.exports = { ...app.section('Section Name', { class: 'section', tag: 'div', presets: [ { name: "Section Preset Name", blocks: [ { type: "heading" }, { type: "paragraph" }, ] } ] }), settings: [...], blocks: [...] }
Existing section method could not receive additional props like class, presets etc. This enables the following: