Rezize block with drag and drop
@micker you must specify `resizable:true` on your component type definition. Cheers!
Read full answer below ↓Question
Hello i trying the absolute mode ! its realy good but to be complet with this designer mode did you plan to add rezize module via drag and drop ? regards
Answers (3)
@micker you must specify resizable:true on your component type definition.
Cheers!
ok cool thanks !
@micker if you want to go with blocks, you have to do it like this:
editor.BlockManager.add('test', {
label: 'test',
content: '<div data-gjs-resizable="true">content</div>',
})
Cheers!
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2630
Button to switch designer mode
hello its possible to add a button to switch of designer mode ? absolute / translate ? regards
Issue #3200
Help needed: Get the component that a block being dropped onto?
Hello, If I drag and drop a block on a dynamically added component, how can I get/access the component that the block is dropped onto? I se...
Issue #2961
BUG: Components in custom modal isn't editable
Hello, I'm trying to add custom modal block to my project and I want to change content of this modal also with drag&drop. Here's code of my...
Issue #4506
Error on drag block with dragmode: absolute
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v103 Reproducible demo link https:/...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.