Skip to content

Commit

Permalink
Hide syntax errors in CodeMirror.
Browse files Browse the repository at this point in the history
Hack to make JSX highlighting better. #19.
  • Loading branch information
sapegin committed Nov 18, 2015
1 parent 596c42d commit fd29bd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Editor/Editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@
overflow-y: hidden;
overflow-x: auto;
}
.root :global .cm-error {
background: none !important;
}

3 comments on commit fd29bd8

@mik01aj
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@sunesimonsen
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️ thanks!

@sapegin
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Please sign in to comment.