Skip to content

Slash inserter not working in Storybook playground #20619

Closed

Description

@tellthemachines

Describe the bug

In the Storybook Gutenberg playground, typing / in the editor does not cause the block autocomplete dropdown to appear as expected. Placeholder text still reads "Start writing or type / to choose a block" so this functionality should work.

To reproduce
Steps to reproduce the behavior:

  1. Go to Storybook Gutenberg playground
  2. Click on the placeholder that says "Start writing or type / to choose a block"
  3. Type "/"
  4. Observe nothing happens.

Expected behavior

Expected block dropdown to appear.

Activity

  1. added
    [Type] Bug
    Storybook
    on Mar 4, 2020
  2. mtias commented on Mar 7, 2020

    @mtias
    Member

    I think @dmsnell run into this and it was a lack of some imports.

  3. dmsnell commented on Mar 7, 2020

    @dmsnell
    Member

    Yes! I had to import '@wordpress/editor' in order to get it hooked up and then everything happened as I expected.

    I believe that I also had to register the core blocks to get it fully right - maybe we still have some implicit dependencies hiding in there

  4. added
    [Feature] Inserter
    on Mar 8, 2020
  5. gziolo commented on Mar 8, 2020

    @gziolo
    Member

    @getdave, any idea what’s missing? Is it also an issue that you had with your version of the standalone editor when working on the tutorial?

  6. added
    [Status] In Progress
    on Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Storybook[Feature] Inserter[Status] In Progress[Type] Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions