Issue #1411πŸ’¬ AnsweredOpened September 10, 2018by zurp0 reactions

Manual triggering of the asset manager rendering is required after opening the AM pop-up

Quick answerby artf

The issue is that currently open-assets doesn't handle correctly the default types option (which I think, in this case, it should return all assets, even not images). I'll fix this in the next release, but for now, what I think it should be even more correctly is to ask explicitly the type of assets

Read full answer below ↓

Question

Questions

Q: Are you using the latest release (older versions are NOT supported)? A: Yes

Q. Are you facing the bug with your local copy of GrapesJS or with the current demo? A: Local copy, latest chrome on Linux 64bit

The issue

When opening the asset manager via editor.runCommand('open-assets') it should render the list of images on its own. Right now I had to call am.render() after opening the asset manager pop-up to get it to work.

What could be the cause?

Answers (2)

artfβ€’ September 11, 2018

The issue is that currently open-assets doesn't handle correctly the default types option (which I think, in this case, it should return all assets, even not images). I'll fix this in the next release, but for now, what I think it should be even more correctly is to ask explicitly the type of assets

lock[bot]β€’ September 17, 2019

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.

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.