How to make Image block to add background image?
Question
How can I make an image block like geapedrop ?
Answers (1)
Create a new component and update its style (eg. background-image, background-size) when the property changes (eg. src)
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2595
[Question] Having trouble dragging external html with draggable="true"
I want to make an external html element able to be dragged into GrapesJS, like how you can drag in a block and it will add something. I hav...
Issue #2076
[QUESTION] How make a new component to allow laravel blade directives?
Hi, thanks for the nice work. I'll like to know if there is a way to use blade directives inside the code. I already add a new functionalit...
Issue #1396
[Bug] Background image layers
Bug: when your pre-defined block or saved templates have two or more background layers, if you add a new layer, a lot of new empty layers a...
Issue #2696
[QUESTION]: How can I create block with background image with behavior like built-in "image"?
Hello, I'm trying to create block with background image (similar to Grapedrop Image Box). I added new component like this: And also I added...
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.