TimOetting / kirby-builder

A site builder extension for Kirby CMS
398 stars 50 forks source link

Using 'defaultView: preview' disables edit mode for newly created blocks #175

Closed rlb222 closed 2 years ago

rlb222 commented 4 years ago

When I set defaultView: preview, and add an item, the fieldset will not show the edit fields.

I have installed the example code for this plugin, when I add a Quote it will not show the edit fields. I have to manually press the 'Edit' button. The other two fields (Text and Events) will show the edit fields. When I delete the line defaultView: preview, the edit fields of Quotes are shown on add.

It says in the example code:

defaultView: preview 
# Optional. If the value "preview" is set, the block will show the preview when the page is loaded in the panel. 
If the value is a tab name, the respective tab is preselected when the page is loaded. 
Newly created blocks ignore this value and have the edit mode or the first tab preselected.

So the line Newly created blocks ignore this value and have the edit mode or the first tab preselected. is not implemented.

René

TimOetting commented 2 years ago

Closing this issue because this plugin will no longer be maintained, as its main functionality can be replaced by Kirby's built-in Blocks Field and Layout Field.