Issue #497Opened November 8, 2017by suraj7402 reactions

Asset manager

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)

artfNovember 8, 20171 reactions

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();
    }
})
suraj740November 15, 20171 reactions

Thanks @artf , i was able to replace current asset manager to custom one. Thanks for giving that commands.

artfNovember 8, 20170 reactions

Duplicate of #491

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.