Issue #1834Opened February 26, 2019by diktar0 reactions

[BUG]: background image for wrapper doesn't work if custom styling properties are selected

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)

artfMarch 3, 20190 reactions

@diktar you have to pass all the background properties to styleable

'background',
      'background-color',
      'background-image',
      'background-repeat',
      'background-attachment',
      'background-position',
      'background-size'

probably it's not the cleanest way to customize stuff but for now I wouldn't spend time on this

lock[bot]March 10, 20200 reactions

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.