-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly implement default background element (#1798)
* Split `duplicatePage` from `createPage` and support new props * Implemented, documented and tested new default background behavior * Changed story reducer to new background element structure * Fix allowed properties per page and element * Added new migration for default background elements * Updated all references to background element ids * Fixed new background element rules in combineElements and added test of that * Update selection after merge * Fix some missing test coverage * Fix test comment * Updated logic around dragging directly from library to match creating element and then dragging * Fix test comment
- Loading branch information
Morten Barklund
committed
May 19, 2020
1 parent
dfd265c
commit d2a9a76
Showing
45 changed files
with
1,327 additions
and
532 deletions.
There are no files selected for viewing
60 changes: 0 additions & 60 deletions
60
assets/src/edit-story/app/story/effects/usePageBackgrounds.js
This file was deleted.
Oops, something went wrong.
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
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.