I’m browsing the editor plugin’s documentation and it seems that you can add different classes to different images Block types · getkirby/editor Wiki · GitHub.
However I can’t figure out where.
My goal is: when users are adding images to the editor field, they can assign a specific class to each image. For instance “left”, “centered”, “right”. Preferably from a dropdown select box or radio box. Is something like that possible?
Oh, cool thanks, I missed that. Do you know by any chance if you can add a select box for the “class” part of the image settings or can it just be a text field?
Having a text field is prone to error, because users might spell, for instance, “centered” as “centred” or some spelling mistake might occur.
Quick question:
I’m trying out the blocks field but I’m getting a blank drop down. I couldn’t find any logged issue on github for this. Is this a known bug?
I’m using the kirby folder downloaded from github, deleted the media folder and refreshed the browser cache.
The blueprint setup is the standard setup from github.
EDIT: It works if there’s only one entry in the fieldset part.
That works for me, although I’m not sure I have the latest version… Just downloaded again to make sure, still working.
Edit: Looks like you have a tab charactere after the first sections keyword. Make sure that your blueprint doesn’t contain any invalid characters. Probably not the problem here, but nevertheless.