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

贡献者指南