Editor crashes when using Google Translate #101365 #69597
Copy link
Copy link
Closed
Labels
General InterfaceParts of the UI which don't fall neatly under other labels.Parts of the UI which don't fall neatly under other labels.[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
With Gutenberg on I get this error:
NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
at qr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:74962)
at Yr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76204)
at Xr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76666)
at Yr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76354)
at Xr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76666)
at Yr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76354)
at Xr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76469)
at Yr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76354)
at Xr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76666)
at Yr (https://my-site-url.com/wp-content/plugins/gutenberg/build/vendors/react-dom.min.js?ver=18:1:76354)
Without Gutenberg, I'm seeing this:
NotFoundError: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
at $r (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:75160)
at Kr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76412)
at Yr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76874)
at Kr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76562)
at Yr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76874)
at Kr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76562)
at Yr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76677)
at Kr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76562)
at Yr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76874)
at Kr (https://my-site-url.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1.1:10:76562)
Step-by-step reproduction instructions
- Change the language of your profile under your site dashboard
- Make sure you have an FSE theme active and Gutenberg can be on or off
- Go to Appearance > Editor
- Right click on the page and choose "Translate to English" or your language - it must be different than the one in your site dashboard
- Click on the editor and try to make any change. Usually, just pressing return(Enter) will break it.
Screenshots, screen recording, code snippet
No response
Environment info
- WordPress 6.7.2
- Gutenberg 20.4.0
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
General InterfaceParts of the UI which don't fall neatly under other labels.Parts of the UI which don't fall neatly under other labels.[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Activity
Mayank-Tripathi32 commentedon Mar 17, 2025
Hi @Robertght, Thank you for reporting the issue.
I have attached a video for reproduction steps.
https://q7utzrengv.ufs.sh/f/Wgl9eBAmTj29jWdKct6TePkj8pUgBMXEl6Ga5htrb2R14KHJ
I also noticed that translation feature does not work in post editor.
t-hamano commentedon Mar 18, 2025
I think I was able to identify the root cause. I hope #69605 fixes this issue.