Issue #2500Opened January 9, 2020by ramusesan1 reactions

events are not firing in translate DragMode

Question

am using npm : "grapesjs": "^0.15.10", and dragMode: translate

added events

editor.on('block:drag', () => {
  console.log('Triggered')
})

but this is working only default drag mode, not in translate drag mode. how get I fix this

Answers (3)

artfJanuary 21, 20201 reactions

Actually, we've never provided a listener for a component during the drag, but I can think about adding it in the next release (eg. component:drag:start, component:drag, component:drag:end)

ramusesanJanuary 13, 20200 reactions

@artf no it does'nt working see the Demo below, i am not getting any console over there. am using chrome Version 79.0

Untitled_ Jan 13 2020 10_59 AM

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.