@flozy/editor 1.4.8 → 1.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -218,6 +218,9 @@ const Grid = props => {
218
218
  const sectionId = id ? {
219
219
  id
220
220
  } : {};
221
+ const bgImage = backgroundImage && backgroundImage !== "none" ? {
222
+ backgroundImage: `url(${backgroundImage})`
223
+ } : {};
221
224
  return /*#__PURE__*/_jsxs("div", {
222
225
  className: `grid-container ${grid} has-hover element-root ${isDragging ? "dragging" : ""} ${isActiveDrag ? "active_drag" : ""}`,
223
226
  ...attributes,
@@ -225,7 +228,7 @@ const Grid = props => {
225
228
  style: {
226
229
  background: bgColor,
227
230
  alignContent: vertical,
228
- backgroundImage: backgroundImage && backgroundImage !== "none" ? `url(${backgroundImage})` : "none",
231
+ ...bgImage,
229
232
  borderColor: borderColor || "transparent",
230
233
  borderWidth: borderWidth || "1px",
231
234
  borderRadius: `${topLeft}px ${topRight}px ${bottomLeft}px ${bottomRight}px`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"