diff --git a/docs/_js/examples/markdown.js b/docs/_js/examples/markdown.js index ec70b95503a87..8f131fbb40713 100644 --- a/docs/_js/examples/markdown.js +++ b/docs/_js/examples/markdown.js @@ -11,16 +11,17 @@ var MarkdownEditor = React.createClass({\n\ getInitialState: function() {\n\ return {value: 'Type some *markdown* here!'};\n\ },\n\ - handleInput: React.autoBind(function() {\n\ + handleChange: React.autoBind(function() {\n\ this.setState({value: this.refs.textarea.getDOMNode().value});\n\ }),\n\ render: function() {\n\ return (\n\
\n\

Input

\n\ - \n\ + \n\

Output

\n\ \n\

TODO

\n\ \n\ -
\n\ - \n\ + \n\ + \n\ \n\
\n\
\n\