I want to use the plugin “Annotator” in my Kirby Page Builder.
I already got everything to work when I just set everything up on a page. But now I also want to be able to use the annotator as a builder block, because I have other blocks (fieldsets) that I want to place around the annotator section.
Unfortunately I cant seem to get the blueprint for the builder block working. When I add the annotator fieldset on my page builder, I will get errors like “Cannot read property ‘key’ of undefined” (when I used sections in line 4) or something like " Error in “annotator” field" “The field type “annotator” does not exist” (when I used fields in line 4)
type: builder label: Image Pins columns: sections: annotator: type: annotator buttons: - pin colors: - blue theme: light debug: false max: false storage: color: color src: src markers: markers myfields: type: fields fields: src: label: Bildauswahl von Gallerie type: files max: 1 width: 1/2 markers: type: structure width: 1/2 fields: mynotenumber: label: 'Nummer' type: text mynote: label: 'Text' type: text
On my page.yml it is called like this (image-pins):
title: Fahrzeugss icon: file-document sections: imageslider: headline: Gallery type: files template: gallery meta: type: fields fields: # inside the fields section of your blueprint: mybuilder: label: Page Builder type: builder columns: 1 # Optional. If set to 2 or more, the builder blocks will be placed in a grid. max: 10 # Optional. Limits the number of builder blocks that can be added. fieldsets: text_only: extends: blocks/text_only zitat: extends: blocks/zitat image-slider: extends: blocks/image-slider image-pins: extends: blocks/image-pins
I think it might be something so simple and easy that I just don’t get here?
I really do appreciate the help