1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Add button clear all checkboxes

This commit is contained in:
makibishi
2018-10-17 17:43:00 +09:00
parent 71ae42056f
commit 9e67880456
5 changed files with 59 additions and 3 deletions

View File

@@ -64,6 +64,10 @@ class MarkdownEditor extends React.Component {
})
}
setValue (value) {
this.refs.code.setValue(value)
}
handleChange (e) {
this.value = this.refs.code.value
this.props.onChange(e)