Issue #497πŸ’¬ AnsweredOpened November 8, 2017by suraj7402 reactions

Asset manager

Quick answerby artf❀ 1

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)

artfβ€’ November 8, 2017

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();
    }
})
suraj740β€’ November 15, 2017

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

artfβ€’ November 8, 2017

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

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.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.