Issue #795✓ SolvedOpened January 25, 2018by chiqui3d3 reactions

Editor.getSelected() in run:open-assets

Quick answerby artf3

Pay attention to the current command Your command should be something like this

Read full answer below ↓

Question

Hello! I want without having to create a new block button, and stopping the event associated to the image that this run:open-assets get the area created by the editor in the canvas and add there the image that I got with my personalized modal image. I want to clarify that when I double-click on the image inside the canvas and select the image from my image manager it is updated correctly with editor.getSelected(), but when I add it from the block panel, it doesn't get the select object and gives me an error: don't find the getSelected function. Is there any other way to solve this?

Answers (3)

👍 Most helpfulartfJanuary 25, 2018

Pay attention to the current command Your command should be something like this

artfJanuary 25, 2018

Apologize @chiqui3d but try to elaborate better, because I didn't get a single statement of what you're asking

chiqui3dJanuary 25, 2018

Yes @artf , you're right, I just updated it, I hope it's understood now.

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.