Issue #1328Opened August 1, 2018by jorgecgll0 reactions

[Question/bug] Reordering components in the canvas

Question

I've noticed some inconsistencies when moving DOM components around in the canvas. Description in the gif below using the Webpage Demo:

grapesjs_gif

In my case, I do see the DOM component "moves" being reflected when I output editor.DomComponents.getComponents(). They actually get reordered, but the Canvas does not reflect those moves sometimes.

Answers (2)

artfAugust 2, 20180 reactions

Never had time to debug it but I think it caused somehow by components with float: right style applied

jmrgzAugust 2, 20180 reactions

Yes, it is related to the float right property. Actually, that is the real behavior of the float right property (the last html element appears the first) so I do not see an easy solution.

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.