grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

Custom Resizer

Open sakshigarg9 opened this issue 7 years ago • 4 comments

I'm using the grapesjs-preset-webpage, how do i set the intial state of the properties under Resizer?

sakshigarg9 avatar Feb 26 '19 07:02 sakshigarg9

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?

NicoEngler avatar Feb 27 '19 10:02 NicoEngler

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>

sakshigarg9 avatar Feb 28 '19 07:02 sakshigarg9

https://github.com/artf/grapesjs/issues/1809#issuecomment-469027859 @sakshigarg9 avoid opening duplicates of your own issues, please...

artf avatar Mar 03 '19 15:03 artf

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.

lock[bot] avatar Mar 10 '20 20:03 lock[bot]