Hello everyone,
I ask my self if it is possible to extend the kirby-builder with a Column function witch has visible impact in the back end.
Normally you would just add more Components with different columns, but I like the idea of customizing the representation without adding a new block.
I tried a couple variations like this. But I have no clue how to access the current builder Element with like a ‘this’ selector.
label: Row {{ column }} # This query works fine
tabs:
content:
label: Content
fields:
pagebuilder:
label: Input
type: builder
columns: {{ column }} # This query doesn't works
fieldsets:
section.content: sections/content
columns:
label: Columns
fields:
column: # Customize the amount of columns
label: Column Count
type: number
default: '1'
required: true
I would be glad if anyone have an idea. Thanks!