Event stop:preview doesn't fire
Question
Hi. I need the firing of this event in this situation: I have some elements out of the canvas that need to be hide at preview mode and shown when I exit preview mode. However, the event stop:preview doesn't fire when I exit the preview and turn back to canvas editing. I've made a solution myself that works well, but I don't know if this is an appropriate solution. That's why I'm sending a screenshot of my solution from my private git instead of sending a pull request, and I hope you could implement this on grapes if it is a good solution. Thanks.

Answers (2)
@artf sorry for this stupid question, but when will the fix available in the npm package? or from which branch i can manually pull the code with this fix and build?
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.
Issue #503
command event that is triggered when we click "Hide Preview"
Hi, editor.on('run:preview', () => { console.log('preview ON') }) This is working fine. Now I need the command event that is triggered when...
Issue #905
[Question] need to find nessesary event.
Hello to all! When dragging block into canvas, and drop it: ... we have an event to detect, what block we drop in. ?: but when i drop block...
Issue #897
How to: find some component at canvas, on event "component:add"
Hi everyone, let say i've added block <form> on canvas. When i adding next <form> (second time) , need to check: if weather this component...
Issue #1230
[Question]: Doctype in the canvas iframe
Hey @artf, I noticed the canvas iframe doesn't appear to have any doctype set on it, which causes it to be in quirks mode. Is this intentio...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.