Skip to content

Commit

Permalink
Fix typos in CodeEditor README
Browse files Browse the repository at this point in the history
  • Loading branch information
noisysocks committed Feb 27, 2018
1 parent 3119677 commit 30ade66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/code-editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CodeEditor
=======

CodeEditor is a React component that provides the user with a code editor
that has syntax highliting and linting.
that has syntax highlighting and linting.

The components acts as a drop-in replacement for a <textarea>, and uses the
CodeMirror library that is provided as part of WordPress Core.
Expand All @@ -16,7 +16,7 @@ function editCode() {
return (
<CodeEditor
value={ '<p>This is some <b>HTML</b> code that will have syntax highlighting!</p>' }
onChange={ value => console.log( value ) }
onChange={ value => console.log( value ) }
/>
);
}
Expand Down

0 comments on commit 30ade66

Please sign in to comment.