BUG: Layer Manager does not allow reordering on same level. only nesting is allowed on top level(right under body) older versions (e.g: 0.21.8
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
latest chrome, firefox, edge
Reproducible demo link
Describe the bug
How to reproduce the bug?
- drag a acomponent in layer manager and try to put it between other items under body
- not allowed. nesting is allowed
What is the expected behavior? ... both nesting and reordering shall be enabled
What is the current behavior? ...only nesting enabled on top level
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (2)
Will be fixed in the next release. Thanks @sumasal for the report and @mohamedsalem401 for the fix 🙇♂️
issue title is somehow clipped. what i meant is it seems to work on older versions such as 0.21.8 and below
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4000
BUG: Pasting a component in root body layer throws TypeError
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v89 Reproducible demo link https://...
Issue #6669
BUG: Cross-level reordering of blocks in Layer Manager causes Sorter errors and breaks further move attempts
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Reproducible demo link https://grap...
Issue #6666
BUG: Layer panel: drag and drop makes items disappear (firefox and chrome)
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 137.0 and Chrome 136.0.7103.92 Rep...
Issue #6271
BUG: Drag and drop of components doesn't work on latest Firefox
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 131.0 (64-bit) on Linux and Mac Re...
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.