Support

Account

Home Forums General Issues Block.json default attributes Reply To: Block.json default attributes

  • All good.

    A default link colour can be defined in block.json under attributes like this:

    "style": {
    	"type": "object",
    	"default": {
    		"elements": {
    			"link": {
    				"color": {
    					"text": "var:preset|color|blue"
    				}
    			}
    		}
    	}
    },

    Seems to follow a different format to textColor and backgroundColor.