Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typos
Co-authored-by: George Mamadashvili <[email protected]>
  • Loading branch information
youknowriad and Mamaduka authored Dec 10, 2021
commit 67f118fbb63bf57e70277b4eaa1026bea931261c
4 changes: 2 additions & 2 deletions packages/block-editor/src/store/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ const withBlockTree = ( reducer ) => ( state = {}, action ) => {
...omit(
newState.tree,
action.replacedClientIds.concat(
// controlled inner blocks are only removed
// if the block don't move to another position
// Controlled inner blocks are only removed
// if the block doesn't move to another position
// otherwise their content will be lost.
action.replacedClientIds
.filter( ( clientId ) => ! subTree[ clientId ] )
Expand Down