evocms-community / pagebuilder

Page Builder for Evolution CMS
29 stars 23 forks source link

Add blank item info text #87

Closed fourroses666 closed 3 years ago

fourroses666 commented 4 years ago

Would be nice to have the option to add a block which is blank on back-end, just some info text. If I'm not mistaken this isn't possible.

    'fields' => [
        'blank' => [
            'caption' => '<i>This is a seperator, you don't need to do anything else!</i>',
            'type'    => 'info',
            ],
        ],
    ],
Sybrenb commented 4 years ago

Without (extra) caption, but the block name is still clear for the user (Google Maps blok).

return [ 'title' => 'Google maps blok', 'show_in_templates' => [ 3 ], 'order' => 1,

'templates' => [ 'owner' => '@CHUNK pb-maps', ],

'fields' => [

], ];

fourroses666 commented 4 years ago

That would work but I rather have some information option(s) to add text on the back-end