while adding border style for Html component css json only fetching for border selector not fetching selector of border-width, border-style, border-colorBUG:
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
chrome v101.0.4951.54
Reproducible demo link
https://jsfiddle.net/7sn5h91r/7/
Describe the bug
- my issue is for style border property width, style and color not updating in json even i have checked in https://grapesjs.com/demo.html. please check the attached screenshot. below is my code JSON response. tell me how to remove that empty properties like border-width, border-style,border-color.
my response JSON:{
"selectors": "is98i",
"style": {
"width": "100%",
"__p": false,
"height": "5%",
"margin-bottom": "15px",
"border-radius": "5px",
"border": "1px solid #d6d6d6",
"border-width": "",
"border-style": "",
"border-color": ""
},
"mediaText": "(max-width: 480px)",
"atRuleType": "media"
}

Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (3)
@artf how to resolve this problem i'm face the same issues in my side latest version v0.18.4 padding: 0 0 0 0, padding-top: "", padding-bottom: "", padding-right: "", padding-left: "",
Hi @aharishsundhar .. As per my knowledge instead of using padding: 0 0 0 0; you can add only pading-top, padding-bottom,padding-left,padding-right...
@senthil177cse im getting the same issues on padding : 0 0 0 0; created also the padding-top create but empty properties coming how to fix the problem is its issues with grapesjs v0.18.4?
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4323
BUG: Performance issue while dragging component to canvas when you have 2k component on canvas
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? Google Chrome Version 101.0.4951.41 (Officia...
Issue #5141
BUG: component resets attribute values on updating traits ( first time only )
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 113.0.5672.63 Reproducible...
Issue #6458
BUG: sector.setName doesn't work
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://jsfi...
Issue #5888
BUG: Cannot edit component content even with editable property set to true
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome V124 Reproducible demo link https:/...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.