You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Slash inserter not working in Storybook playground #20619
StorybookStorybook and its stories for components[Feature] InserterThe main way to insert blocks using the + button in the editing interface[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended
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.
StorybookStorybook and its stories for components[Feature] InserterThe main way to insert blocks using the + button in the editing interface[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended
Activity
mtias commentedon Mar 7, 2020
I think @dmsnell run into this and it was a lack of some imports.
dmsnell commentedon Mar 7, 2020
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
gziolo commentedon Mar 8, 2020
@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?