Hello. I am using Stiletto theme and would like to use multiple button blocks in Rich Text but there is a 2 button limit.
I have found the code in rich-text.liquid:
"type": "button",
"name": "t:sections.rich_text.blocks.button.name",
"limit": 2,
"settings": [
{
"id": "link",
"type": "url",
"label": "t:sections.rich_text.blocks.button.settings.link.label"
},
{
"id": "link_text",
"type": "text",
"label": "t:sections.rich_text.blocks.button.settings.link_text.label",
"default": "Read more"
},
{
"type": "select",
"id": "button_style",
"label": "t:shared.settings.button_style.label",
"options": [
{
"value": "btn--primary",
"label": "t:shared.settings.button_style.option_solid"
},
{
"value": "btn--secondary",
"label": "t:shared.settings.button_style.option_outline"
},
{
"value": "btn--callout",
"label": "t:shared.settings.button_style.option_text"
}
The problem is that I have tried changing the button limit from “2” to “5”, which does work. However, this squashes the button additional blocks together with no margin spacing between the buttons. Any suggestions how to fix this and separate them?

