Skip to content
New issue

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

Gutenberg Block crashes after inserting and selecting Special-Char #203

Closed
1 task done
max36 opened this issue Jul 11, 2023 · 0 comments · Fixed by #204
Closed
1 task done

Gutenberg Block crashes after inserting and selecting Special-Char #203

max36 opened this issue Jul 11, 2023 · 0 comments · Fixed by #204
Labels
type:bug Something isn't working.
Milestone

Comments

@max36
Copy link

max36 commented Jul 11, 2023

Describe the bug

When i insert a special character into a Gutenberg Textblock and then try to select the character using keyboard shift + left arrow the block crashes. The error was introduced with the latest update to v. 1.0.7

There are errors in the console:

react-dom.min.js?ver=18.2.0:10 TypeError: Cannot read properties of undefined (reading 'some')
    at format-library.min.js?ver=cd4a10ec005e2f001978:2:20911
    at Array.some (<anonymous>)
    at edit (format-library.min.js?ver=cd4a10ec005e2f001978:2:20900)
    at kt (react-dom.min.js?ver=18.2.0:10:47633)
    at gr (react-dom.min.js?ver=18.2.0:10:56448)
    at js (react-dom.min.js?ver=18.2.0:10:121615)
    at kl (react-dom.min.js?ver=18.2.0:10:88654)
    at yl (react-dom.min.js?ver=18.2.0:10:88582)
    at vl (react-dom.min.js?ver=18.2.0:10:88445)
    at ol (react-dom.min.js?ver=18.2.0:10:85269)

Steps to Reproduce

  1. Insert a Special Character into a Gutenberg Textblock
  2. Use Keys shift + arrow left to select the character

Screenshots, screen recording, code snippet

Bildschirmaufnahme.2023-07-11.um.14.57.46.mov

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@max36 max36 added the type:bug Something isn't working. label Jul 11, 2023
@github-project-automation github-project-automation bot moved this from Incoming to Merged in Open Source Practice Jul 12, 2023
@dkotter dkotter added this to the 1.1.0 milestone Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants