-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proposal: history "buffer"/overwrite, sync RichText history records (#…
…4956) * Overwrite undo + editable signal * Prevent TinyMCE from accumulating history * Setting content is no longer needed on split if state is in sync * When setting editor content, do not create an undo level * Add context.onRedo for RichText * Fix failing test * Simplify history reducer * Rewrite shouldOverwriteState * Rewrite tests * Adjust hasEditorUndo * Minimise diff * Leave comment for backspace onChange * Use change event instead of addundo which fires during init * Remove dirty references * Restore updateContent * Avoid wastefully calculating nextPast
- Loading branch information
Showing
9 changed files
with
265 additions
and
102 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.