Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standalone Editor: Improve Undo #2308

Merged
merged 51 commits into from
Jan 17, 2024
Merged

Standalone Editor: Improve Undo #2308

merged 51 commits into from
Jan 17, 2024

Conversation

JiuqingSong
Copy link
Collaborator

Improve Undo Snapshot:

  • Editor take an Undo Snapshots object instead of SnapshotsManager
  • Editor API takeSnapshot now returns the new snapshot object
  • Add an optional callback onChanged in Snapshots interface
  • With all above, demo site now can easily get/set snapshots
  • Demo site now supports copy snapshot with "metadata" format, and paste a metadata directly into each box (html, selection, ...)

This is a preparation step for new color manager.

@JiuqingSong JiuqingSong merged commit 3bdf97e into master Jan 17, 2024
7 checks passed
@JiuqingSong JiuqingSong deleted the u/jisong/undoimprove branch January 17, 2024 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants