GrapesJS/grapesjs

[Feature]: Improve UndoManager API

開放

#3,639 建立於 2021年7月23日

 (9 則留言) (1 個反應) (0 位負責人)TypeScript (3,702 個分叉)batch import
featurehelp wanted

倉庫指標

星標
 (19,449 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

One thing i think would add great functionality is a more detailed history stack. U can get the undo stack and build a sort of history report from it of all the edits one has made but it is a little unclear as to what each edit was (at least to me so if I am missing something please let me know). Maybe like a formulaic description that is like component [component name] added/deleted/edited at [location on page or component added to], or component [component] text edited, . . . (please excuse the general description as even i have no clue how i would phrase it) just some quick description that can give a brief overview of what that particular undo/redo history was for each item on the stack. I am aware of only the id of each history item atm, so if this is currently possible I am just unaware of how i should go about extracting this information to create a history sidebar outside of just the id so please give me a clue as what to look for

Is there an alternative at the latest version?

  • Yes (describe the alternative)
  • [ x] No

Is this related to an issue?

  • Yes (Give a link to the issue)
  • [ x] No

貢獻者指南