Forum Discussion

kenterickson's avatar
kenterickson
Cloud Apps
12-01-2022
Solved

New Blox Border Snippet

I cannot figure out where in the editor to place the border snippet code to keep my blox widget from using the system defaulted corner radius.  No matter where I place it the corners of the widget remain rounded.

{
  "spaceAround": "none|small|medium|large",
  "cornerRadius": "none|small|medium|large",
  "borderColor": "",
  "shadow": "none|light|medium|dark"
}

 

  • I figured it out ...

    Those items can be added to the editor section (with no curly braces), as attributes.

2 Replies

Replies have been turned off for this discussion
  • Can you please provide an example? I having a hard time, I tried:  

    "border": [{
    					"show": true,
    					"color": { "solid": { "color": "#FF0003" } },
    					"radius": 10
    				}]
  • I figured it out ...

    Those items can be added to the editor section (with no curly braces), as attributes.