Custom content block
Permalink
So im trying to customise the Content block so it is wrapped in a bootstrap panel. It also needs an optional title and footer. I've tried copying the Content block and playing with it but cant make heads or tales of how to add multiple redactors to one block or if this is what i even need to do Any help would be greatly appreciated! My ultimate aim is to create a custom block with inline editing for the title, content and footer text.
For what you are trying to do, does it have to be done using inline editing? Can it instead use a block form for input?
Do the title and footer text have to be entered with Redactor? Will they require custom styling that you can't accomplish with classes?
If you don't require inline editing and multiple Redactor input, I might have some information to help point you in the right direction.
The other day, someone was asking about how to add Redactor input to a block. It happened to be something I just figured out. I posted some steps for adding it.
https://www.concrete5.org/community/forums/5-7-discussion/redactor-i...
After reading your question, and that you wanted multiple Redactor inputs, I tried to add multiple Redactor inputs in a block form. I was only able to reliably get one Redactor input.
Using one Redactor input for the main content, you could use text() to handle the title and footer.
I made a PanelContentMaker that does what I describe and attached it to the reply. I have also included screenshots of what it does.