Custom block preview for table plugin

Hi :wave:

i’m using this table plugin (Table field | Kirby CMS) inside my custom blocks, which right now looks like this:

How can i use the default view (wysiwyg?) instead, which looks like this:
image

Also: Is there a way to avoid the drawer for blocks in general?

Thank you very much!

You would have to create a custom preview for this block. Or maybe use this plugin: Fields Block | Kirby CMS

But I think this then applies to all blocks. But at least then you don’t need the drawer.

Thank you for the info. I will check out the fields block plugin with the next opportunity. Maybe it is just me but i find writing custom preview blocks very difficult and also a slow process compared to what i was able to do with the builder plugin before.

Maybe it is just me but i find writing custom preview blocks very difficult and also a slow process compared to what i was able to do with the builder plugin before.

I agree, but the fields block plugin offers pretty much the same experience as the builder plugin before. For me personally it’s a must-have for every project with blocks. It’s a matter of minutes to set up new blocks instead of fiddling with custom previews.

You also don’t don’t need to enable it for every block. It’s only enabled when you set preview: fields.