Issue #3235Opened January 15, 2021by AnnaSu0 reactions

BUG: "component:update" does not trigger when components are moved

Question

Taken from https://github.com/artf/grapesjs/blob/dev/src/editor/index.js#L33

component:update - Triggered when a component is updated (moved, styled, etc.), the model is passed as an argument to the callback

reproduce the bug

image

CleanShot 2021-01-15 at 19 35 31

  editor.on("component:update", () => {
    console.log("click arrow up/arrow down button");
    console.log("expected behavior: Triggered when a component is moved.");
  });

expected behavior

component:update - Triggered when a component is moved

current behavior

component:update - Trigger is not working when a component is moved

Version:

  • 0.16.34

Answers (0)

No answers yet.

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.