Skip to content

Use VM's serialization methods in updateAllBlocks - #9152

Open
mxmou wants to merge 1 commit into
ScratchAddons:masterfrom
mxmou:fix-block-comment-bugs
Open

Use VM's serialization methods in updateAllBlocks#9152
mxmou wants to merge 1 commit into
ScratchAddons:masterfrom
mxmou:fix-block-comment-bugs

Conversation

@mxmou

@mxmou mxmou commented Aug 7, 2026

Copy link
Copy Markdown
Member

Resolves #9151

Changes

Changes updateAllBlocks() to use the VM's methods to serialize blocks and comments instead of blockly.Xml.workspaceToDom().

Tests

Tested on Edge and Firefox.

@mxmou mxmou self-assigned this Aug 7, 2026
@mxmou
mxmou requested a review from WorldLanguages as a code owner August 7, 2026 08:42
@mxmou mxmou added the scope: addon Related to one or multiple addons label Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: addon Related to one or multiple addons

Projects

None yet

Development

Successfully merging this pull request may close these issues.

updateAllBlocks() makes block comments behave weirdly

1 participant