Issue #1834πŸ’¬ AnsweredOpened February 26, 2019by diktar0 reactions

Background image for wrapper doesn't work if custom styling properties are selected

Quick answerby artf

@diktar you have to pass all the background properties to styleable probably it's not the cleanest way to customize stuff but for now I wouldn't spend time on this

Read full answer below ↓

Question

When editor is initialized with custom styling props defined for wrapper, background image is not set to wrapper. It is set correctly if editor is initialized with default configuration for wrapper.

Steps to reproduce:

  1. open https://jsfiddle.net/gu289h0q/
  2. select root element in editor
  3. in Style Manager open 'Decorations' sector and try adding a background image

Answers (2)

artfβ€’ March 3, 2019

@diktar you have to pass all the background properties to styleable probably it's not the cleanest way to customize stuff but for now I wouldn't spend time on this

lock[bot]β€’ March 10, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.