How create a new modal dialog like the icons one?
Question
Hi ! I would like create a new modal that contains templates for what users can use them later and add them to canvas/editor. I would like to do something similar to this. This is an example of https://grapedrop.com/
<img width="780" alt="captura de pantalla 2018-12-12 a las 9 09 10" src="https://user-images.githubusercontent.com/22544126/49859083-9a71e780-fdee-11e8-9c68-e9f14c0d6a11.png">How do you do that?
Answers (2)
You can do it by creating new asset types https://grapesjs.com/docs/modules/Assets.html#customization
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.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #362
How to create custom link components that prompts users to type link/choose link similar to Images Component Modal
Image Components have logic to call Modal and prompt user's interaction for options/configuration of image url. Would like to do similar to...
Issue #1478
how to create a Independent modules not to be dragged
hi! how can i create a Independent modules not to be dragged into,like the built-in blocks in the new project gradedrop https://grapedrop.c...
Issue #457
Two Quick Questions
Hi @artf 1) I have my editor templates like this : I want to change the alignment and also add a back button to the corner left like this o...
Issue #1831
[Question] How to run command for a block component?
I'd like to do something like this. so once a user drops the test component into the canvas, I'd like to open up asset manager modal where...
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.