Image-like component with own asset manager
You just need to create your own command which calls your modal. Obviously, as you're implementing your own Asset Manager it's up to you knowing WHEN to update the target For your custom image component you could do something like this: When you add the block, be sure to use the activate property, this will trigger th...
Read full answer below ↓Question
Hi everyone! I have a question about my problem, which I want to solve for about 1 month. The question is: Can I create a component, like a image component, so when I drop it, it will open my own asset manager, that will not overwrite original asset manager, so Image component will have same functionality as it has now. I wrote simple modal, where you can search for images online, but this modal overwrites original asset manager: When I drop image block, this modal appears instead of original asset manager, and now the second problem, I wanted to overwrite open-assets command, which I found h...
Answers (1)
You just need to create your own command which calls your modal. Obviously, as you're implementing your own Asset Manager it's up to you knowing WHEN to update the target For your custom image component you could do something like this: When you add the block, be sure to use the activate property,...
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2316
Customizing the assets-manager view
I would like to create a custom assets-manager modal to open in bootstrap modal. I'd like to keep the original assets manager functionality...
Issue #3409
Custom component property that is not a trait
I would like to create a custom component with a property that will be updated by specific code, but I don't want this property to be visib...
Issue #612
Urgent : Duplicate other blocks when used custom asset manager
Hello, We have modified the Assset manager with custom one. But we are having problem now. If we drop one image into canvase and then add a...
Issue #2705
Adding image sizes to image
When I add an image attribute to the page I noticed that inside of the component the image has attributes to it. When I call my images into...
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.