We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onLoad
Despite the intent of this code to prevent initial onLoad content from being added to the undo stack, it does get added and is undoable:
isolated-block-editor/src/components/block-editor-contents/index.js
Lines 75 to 86 in 82b69ed
(This behavior was fixed for undo in collab mode #68, but is not yet fixed for the non-collab case.)
For convenience, here's a branch with a Storybook story for onLoad and a failing UI integration test: https://github.com/Automattic/isolated-block-editor/tree/test/onload-undo
The initial onLoad content is not undoable.
The text was updated successfully, but these errors were encountered:
Ah, I've been meaning to look into this - thanks for debugging it!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Despite the intent of this code to prevent initial
onLoad
content from being added to the undo stack, it does get added and is undoable:isolated-block-editor/src/components/block-editor-contents/index.js
Lines 75 to 86 in 82b69ed
(This behavior was fixed for undo in collab mode #68, but is not yet fixed for the non-collab case.)
Steps to reproduce
For convenience, here's a branch with a Storybook story for
onLoad
and a failing UI integration test: https://github.com/Automattic/isolated-block-editor/tree/test/onload-undoonLoad
content.Expected behavior
The initial
onLoad
content is not undoable.The text was updated successfully, but these errors were encountered: