Skip to content

Commit

Permalink
upgrade plugin with latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
partners-wli committed Mar 30, 2024
1 parent 34fb11c commit f761900
Show file tree
Hide file tree
Showing 6 changed files with 145 additions and 86 deletions.
33 changes: 18 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,28 @@ class Test extends Component {
constructor(props) {
super(props);
this.state = {
editorHtml :''
}
handleChange(html){
this.setState({
editorHtml : html
})
}
render(){
return(
<div>
<Editor
editorHtml: "",
};
}

handleChange(html) {
this.setState({
editorHtml: html,
});
}

render() {
return (
<div>
<Editor
onChange={this.handleChange.bind(this)}
value={this.state.editorHtml}
bounds={".app"}
bounds=".app"
placeholder="Type Something"
/>
</div>
)
}
</div>
);
}
}
export default Test;

Expand Down
75 changes: 48 additions & 27 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit f761900

Please sign in to comment.