microweber icon indicating copy to clipboard operation
microweber copied to clipboard

Additional helper class for changing element order without ability to clone.

Open RogerAntonio opened this issue 3 years ago • 2 comments

Currently we have a certain classes that help us with live edit abilities (Documentation). My favorite right now is "cloneable", but with some layouts I would like to allow elements to move around, without it being cloneable.

I've been thinking for a suggestion on a class name that wouldn't interfere with current templates, but I can't quite pick a good one.

  • sorting Allows you to sort the elements, not allowed to clone/delete. But the class name might cause confusion because it's manual sorting and not sorting alphabetically/date/...
  • ordering / order Allows you to change the order of elements. Class name can cause confusion or could be used by templates in checkout templates.
  • position this class could be in use by some templates in regard to either the css property "position" or in regards to the role a team member has (Teamcard module).
  • move-only Class name could cause confusion in regards to the drag-and-drop feature of MW.

If you think of a better name for the class, feel free to use it, I have no preference, I would just like to the the feature added to MW :)

RogerAntonio avatar Jul 08 '22 09:07 RogerAntonio

position-only perhaps? image

RogerAntonio avatar Jul 08 '22 09:07 RogerAntonio

hi, good suggestion

@raikov

peter-mw avatar Jul 08 '22 13:07 peter-mw