mirror of
https://github.com/BoostIo/Boostnote
synced 2026-01-28 08:07:16 +00:00
Add button clear all checkboxes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user