Custom Resizer
Question
I'm using the grapesjs-preset-webpage, how do i set the intial state of the properties under Resizer?
Answers (3)
I'd like to help but could not get my head around the problem. Could you be more precise on what you are trying to accomplish?
I wish to limit resizing an image upto a specific dimension and I also want to have a specified minimum dimension. Besides that, I want to enable only br (bottom-right) point in the image for resizing.
This is what my image component looks like.
<div class="padding-left-small blue-background">
<div class="@Html.RtlClassName() container">
<div class="padding-bottom-small padding-top-small flex" >
<a class="logo-image" style="">
<img data-gjs-type="image" data-gjs-draggable="div[class~='flex']" src="logo.png"></img>
</a>
<div style=" width: 61px; height: 61px;"></div>
</div>
</div>
</div>
https://github.com/artf/grapesjs/issues/1809#issuecomment-469027859 @sakshigarg9 avoid opening duplicates of your own issues, please...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #452
Custom Resizer issue (or maybe how I'm saving/loading components)
I'm trying to build a custom resizer for one of my components. It's a grid/column layout based on Flexbox and I want users to be able to re...
Issue #930
[Question] Update resizer after asset changed
Hi! I trying to change default assets manager with ours custom manager. On double click the selected image is replaced with a new one with...
Issue #1255
[QUESTION]: How to set editor html contents from custom component?
I'm having trouble getting a custom block+component to display its template HTML inside the grapes editor. Within the exported HTML, the ma...
Issue #1834
[BUG]: background image for wrapper doesn't work if custom styling properties are selected
When editor is initialized with custom styling props defined for wrapper, background image is not set to wrapper. It is set correctly if ed...
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.