Browser: Chrome Version 137.0.7151.104
OS: macOS
I have a button which is a component. For some reason, I cannot remove a global class from it(.confetti-effect), if I remove the class, save and reload, the class is still attached.
Here’s the JSON:
{
"components": [
{
"id": "uemazk",
"category": "Buttons",
"desc": "Primary CTA Button",
"elements": [
{
"id": "uemazk",
"name": "button",
"parent": 0,
"children": [],
"settings": {
"_cssGlobalClasses": [
"btn--primary",
"cn96hu",
"nqnnex"
],
"icon": {
"library": "fontawesomeRegular",
"icon": "fa fa-calendar-days"
},
"iconPosition": "left",
"iconTypography": {
"font-size": "1em",
"color": {
"id": "acss_import_white-trans-80",
"name": "white-trans-80",
"raw": "var(--white-trans-80)"
}
},
"tag": "button"
},
"label": "CTA Button"
}
],
"properties": [
{
"label": "Label",
"type": "text",
"default": "CTA text",
"id": "dnamxp",
"connections": {
"uemazk": [
"text"
]
},
"group": "rghzib"
},
{
"label": "Link",
"type": "link",
"id": "uaiosw",
"connections": {
"uemazk": [
"link"
]
},
"group": "usqjwe"
},
{
"label": "Icon",
"type": "icon",
"id": "attvsy",
"connections": {
"uemazk": [
"icon"
]
},
"group": "fsqbdr",
"default": {
"library": "ionicons",
"icon": "ion-ios-arrow-round-forward"
}
},
{
"label": "Icon position",
"type": "select",
"id": "ulleza",
"connections": {
"uemazk": [
"iconPosition"
]
},
"default": "right",
"group": "fsqbdr"
},
{
"label": "Button type",
"type": "class",
"options": [
{
"id": "fuofrp",
"label": "Primary",
"value": [
"acss_import_btn--primary"
]
},
{
"id": "fdaopj",
"label": "Secondary",
"value": [
"acss_import_btn--secondary"
]
},
{
"id": "mbuxgh",
"label": "Outline",
"value": [
"acss_import_btn--outline"
]
}
],
"default": [
"fuofrp"
],
"id": "uuxesw",
"connections": {
"uemazk": [
"_cssGlobalClasses"
]
},
"group": "lybhki"
},
{
"label": "Button Size",
"type": "class",
"group": "lybhki",
"options": [
{
"id": "kpqsux",
"label": "Small",
"value": [
"acss_import_btn--s"
]
},
{
"id": "icakqr",
"label": "Medium",
"value": [
"acss_import_btn--m"
]
},
{
"id": "abmfle",
"label": "Large",
"value": [
"acss_import_btn--l"
]
},
{
"id": "hrlugb",
"label": "X Large",
"value": [
"acss_import_btn--xl"
]
}
],
"default": [
"abmfle"
],
"id": "rdcrgv",
"connections": {
"uemazk": [
"_cssGlobalClasses"
]
}
}
],
"_created": 1748171008,
"_user_id": 2,
"_version": "2.0-beta",
"propertyGroups": [
{
"id": "rghzib",
"name": "Text"
},
{
"id": "usqjwe",
"name": "Link"
},
{
"id": "fsqbdr",
"name": "Icon"
},
{
"id": "lybhki",
"name": "Style"
}
]
}
],
"globalClasses": [
{
"id": "nqnnex",
"name": "confetti-effect",
"settings": [],
"modified": 1751150042,
"user_id": 2
}
]
}