This repository has been archived by the owner on Feb 6, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: "undo / redo" support for attribute changes (#1175)
* feat: undo redo attributes and deck transition animation * feat: input undo redo working together with custom undo redo * feat: undo and redo with content editable / input events * refactor: dedicated store for undo and redo * refactor: rename element innerHTML value used to be pushed to undo on changes * feat: set color and style undo redo * chore: prettier * feat: remove stack for inner html when about to style * feat: propagate undo redo element for saving purpose * fix: do not trigger update on undo redo color * refactor: move helper to utils * fix: use slotted element as reference (element can be a child) * feat: reset undo redo stack on leaving editor * fix: stack undo redo on element changes * feat: undo redo font family * feat: undo redo text scale * feat: undo redo letter spacing and align * feat: undo redo block * feat: redo undo border radius * feat: redo undo box shadow * feat: redo undo code color * feat: redo undo reset code color * feat: redo events throw in component for attributes too * refactor: duplicate code * feat: redo undo color * refactor: update multiple styles at once * refactor: update multiple properties and styles at once * fix: definition * feat: undo redo image style * feat: undo redo list * fix: reset undo redo store * feat: do not stack if same value
- Loading branch information
1 parent
0eac94d
commit 4315304
Showing
23 changed files
with
817 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.