jploch / FieldtypePageGrid

Other
3 stars 0 forks source link

Undo / redo seem not to be reliable #4

Open incognitoms opened 7 months ago

incognitoms commented 7 months ago

We've prepared a basic demo for an upcoming client project. The client pointed out that the undo/redo buttons are not fully functional. Upon testing the feature on https://demo.page-grid.com/, I found that it works under specific conditions, but most actions seem to be irreversible. Could you clarify how this feature should function?

jploch commented 7 months ago

@incognitoms There are some limitations of the Undo/Redo feature and it's already on my roadmap to make them support more actions. It might also sometimes take two clicks to undo a single action. Btw. you can also use shortcuts for that.

Right now it only works for CSS changes you do through drag and drop, resize or through the stylepanel. Undo/Redo of adding/deleting items or changing the parent are not sopported yet. But I plan to support those within the next updates. Will keep you posted.