[BUG] Gradient plugin is interfering with background-image
See original GitHub issueThe background-image url is getting wrapper around by linear-gradient() function like so
background-image: -webkit-linear-gradient(path/to/image.jpg);
Even though I assigned gradient to ‘background’ property instead of ‘background-image’
editor.StyleManager.addProperty('decorations', {
name: 'Gradient',
property: 'background',
type: 'gradient',
defaults: 'none'
});
I can’t reproduce the bug in the demo of either grapesjs or the plugin because in neither of them have the two features (background image and gradient ) been used together.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top Results From Across the Web
How do I combine a background-image and CSS3 gradient on ...
The final line sets a background image and gradient for browsers that can handle them. ... Stacking images ONLY (no gradients in the...
Read more >Gradient On Contain Background Image - WordPress.org
I have a background image within a container. I had a gradient overlay applied but have removed it, switching off the slider.
Read more >BackgroundImage is not implemented in Filter Effects (CSS or ...
They are currently trying to nail down the CSS Compositing spec related to BackgroundImage and enable-background-image. There are significant technical issues ...
Read more >Gradient Background - Elementor
Gradient Background Settings · Color: set the first gradient color · Location: set the location of the first color. This will affect the...
Read more >WordPress Background Images: How to Add, Edit ... - Kinsta
Gradient Backgrounds: A gradient background transitions from one color to ... A responsive theme or plugin may adjust the background image ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can someone check if the latest release fixes the issue, please?
@artf latest release doesn’t fix the issue I think