-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not separately sanitize attributes in cloneSanitizedBlock
The only reason we still had this was to fill in default values for any internal attrs that got stripped on duplication; since there is no obvious use case for an internal attribute with defaults I'm removing this for now. I leave __experimentalSanitizeBlockAttributes as it is still used in createBlock, and keeping it pulled out like this allows for ease of unit testing.
- Loading branch information
Showing
2 changed files
with
153 additions
and
29 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