Skip to content

Commit

Permalink
fix: block change serialization (#7400)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeksOmega authored Aug 16, 2023
1 parent d32a13c commit 9efd944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/events/events_block_change.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class BlockChange extends BlockBase {
*/
static getExtraBlockState_(block: BlockSvg): string {
if (block.saveExtraState) {
const state = block.saveExtraState(false);
const state = block.saveExtraState(true);
return state ? JSON.stringify(state) : '';
} else if (block.mutationToDom) {
const state = block.mutationToDom();
Expand Down

0 comments on commit 9efd944

Please sign in to comment.