How to manage custom code? #1096
-
The issue is: I wanted to add some Bootstrap cards to a page. As this is not a block, I put it in the custom code block. But the only way to manage the text or the image is to edit the HTML. And my customers are not really keen on that. In the previous version there was custom blocks. These blocks somehow picked up the code and made it editable for editors without knowledge of HTML. Is there a way to achieve that again? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You can always create your custom block. Add a section to the page. Add an image to it. A heading and anything else you may need. Finally save the Section as a Custom Block and name it a Card. RC 2 allows you to add custom classes so you could add and reuse bootstrap classes such as '.card' if needed as well. Finally, we'll have the template library that will be pre-populated with hundreds of blocks including cards. |
Beta Was this translation helpful? Give feedback.
You can always create your custom block. Add a section to the page. Add an image to it. A heading and anything else you may need. Finally save the Section as a Custom Block and name it a Card.
RC 2 allows you to add custom classes so you could add and reuse bootstrap classes such as '.card' if needed as well.
Finally, we'll have the template library that will be pre-populated with hundreds of blocks including cards.