Asset manager
no @suraj740 target is the component model, you should add your custom open-assets command
Read full answer below βQuestion
hi @artf , is it possible to replace current asset manager , from my custom one? I have created my own asset manager , i want to use that to upload images and all. is it possible?
Answers (3)
no @suraj740 target is the component model, you should add your custom open-assets command
editor.Commands.add('open-assets', {
run(editor) {
// here you call your custom manager
// and you can get the selected component (target)
// with editor.getSelected();
}
})
Thanks @artf , i was able to replace current asset manager to custom one. Thanks for giving that commands.
Duplicate of #491
Related Questions and Answers
Continue research with similar issue discussions.
Issue #426
After image Upload immediately show in the asset Manager
@ artf I tried my best, but still it doesn't seem to work Can you please help me in this. Once I upload a image I don't want to refresh the...
Issue #582
background image issue
Hi @artf one more issue when using custom manager , what do we set on background images? editor.getSelected().set('src', url) not working o...
Issue #667
Question about Asset Manager
Hi @artf , I have two question about Asset Manager. How I can set a image by select, current logic after I upload image, I must select imag...
Issue #1854
Asset manager empty on second open
Hi, I am trying to build a plugin which sets up the asset manager as a SVG repository. If the user selects a SVG, the asset manager opens....
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 βRelated tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.