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

Widget screen: Adding Classic block (bug) #31916

Closed
paaljoachim opened this issue May 17, 2021 · 1 comment · Fixed by #32800
Closed

Widget screen: Adding Classic block (bug) #31916

paaljoachim opened this issue May 17, 2021 · 1 comment · Fixed by #32800
Assignees
Labels
[Block] Classic Affects the Classic Editor Block [Feature] Widgets Screen The block-based screen that replaced widgets.php. [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@paaljoachim
Copy link
Contributor

Description

In the Widgets screen. Adding the Classic block causes a bug.

Step-by-step reproduction instructions

  1. Widgets screen.
  2. Add the Classic block.
  3. Notice the error.

Expected behaviour

I expected to see no error when adding the Classic block.

Actual behaviour

Widget-Screen-Classic-block-bug.mp4

WordPress information

  • WordPress version: 5.7.2
  • Gutenberg version: 10.6.1
  • Are all plugins except Gutenberg deactivated?
  • Are you using a default theme (e.g. Twenty Twenty-One)? Twenty Twenty One

Console errors:

Screen Shot 2021-05-18 at 00 10 52

react-dom.min.de439aae.js:125 TypeError: Cannot read property 'tinymce' of undefined
    at index.js?ver=1066a93409706095a0461fb5da18e8cc:72
    at Bh (react-dom.min.de439aae.js:126)
    at Dj (react-dom.min.de439aae.js:162)
    at unstable_runWithPriority (react.min.e713ea3b.js:25)
    at Da (react-dom.min.de439aae.js:60)
    at xb (react-dom.min.de439aae.js:162)
    at Te (react-dom.min.de439aae.js:146)
    at react-dom.min.de439aae.js:61
    at unstable_runWithPriority (react.min.e713ea3b.js:25)
    at Da (react-dom.min.de439aae.js:60)
@paaljoachim paaljoachim added Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) [Block] Classic Affects the Classic Editor Block [Feature] Widgets Screen The block-based screen that replaced widgets.php. [Type] Bug An existing feature does not function as intended and removed Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) labels May 17, 2021
@noisysocks
Copy link
Member

The Classic block isn't supported in this editor. See #15916.

Still, this is a bug, since it should not appear in the inserter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Classic Affects the Classic Editor Block [Feature] Widgets Screen The block-based screen that replaced widgets.php. [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants