Skip to content

Editor crashes when using Google Translate #101365 #69597

@Robertght

Description

@Robertght

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

  1. Change the language of your profile under your site dashboard
  2. Make sure you have an FSE theme active and Gutenberg can be on or off
  3. Go to Appearance > Editor
  4. Right click on the page and choose "Translate to English" or your language - it must be different than the one in your site dashboard
  5. 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

Metadata

Metadata

Assignees

Labels

General InterfaceParts of the UI which don't fall neatly under other labels.[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions