Editor Key Map Error (minor)
See original GitHub issueWhen I try to set the editor.keyMap config entry to ‘sublime’ (per the CodeMirror docs) Styleguidist throws an error:
TypeError: Cannot read property 'attach' of undefined
in UnControlled (created by Editor)
in Editor (created by Styled(Editor))
in Styled(Editor) (created by EditorLoader)
in EditorLoader (created by Slot)
in div (created by Slot)
in Slot (created by Playground)
in div (created by PlaygroundRenderer)
in div (created by PlaygroundRenderer)
in PlaygroundRenderer (created by Styled(Playground))
in Styled(Playground) (created by Playground)
in Playground (created by Examples)
in article (created by ExamplesRenderer)
in ExamplesRenderer (created by Styled(Examples))
in Styled(Examples) (created by Examples)
in Examples (created by ReactComponent)
in div (created by ReactComponentRenderer)
in ReactComponentRenderer (created by Styled(ReactComponent))
in Styled(ReactComponent) (created by ReactComponent)
in ReactComponent (created by Components)
in div (created by ComponentsRenderer)
in ComponentsRenderer (created by Components)
in Components (created by Section)
in section (created by SectionRenderer)
in SectionRenderer (created by Styled(Section))
in Styled(Section) (created by Section)
in Section (created by Sections)
in section (created by SectionsRenderer)
in SectionsRenderer (created by Styled(Sections))
in Styled(Sections) (created by Sections)
in Sections (created by StyleGuide)
in main (created by StyleGuideRenderer)
in div (created by StyleGuideRenderer)
in StyleGuideRenderer (created by Styled(StyleGuide))
in Styled(StyleGuide) (created by StyleGuide)
in StyleGuide
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Keymap - Helix
Minor modes These sub-modes are accessible from normal mode and typically switch back to normal mode after a command.
Read more >Visual Studio Code Key Bindings
Here you will find the complete list of key bindings for Visual Studio Code and how to change them.
Read more >Error Messages | Maps JavaScript API - Google Developers
This behavior typically indicates issues with either an API key or billing. In order to use Google Maps Platform products, billing must be...
Read more >Suddenly error occur for "Missing Key Map ... - Issue Tracker
Hi, I am using Google Maps API with API key in my site which is on localhost when an error appeared saying that...
Read more >javascript - "using API key multiple times" error after adding ...
3) using a for/in loop to iterate over the "container" object ( fishObj ) with plain old new google.maps.Marker (instead of new MarkerWithLabel ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The only thing you have to do to fix your bug is somehow import the sublime keymap in the package.
either in the rootJsx file or in one of the components you customized.
Hello @rafegoldberg
Can you provide your
styleguide.config.js? I am curious to find out why this is happening.