1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Spellcheck - liveSpellcheck

This commit is contained in:
ehhc
2018-06-23 18:15:16 +02:00
parent 82178055af
commit 785272540e
3 changed files with 430 additions and 36 deletions

View File

@@ -322,7 +322,7 @@ export default class CodeEditor extends React.Component {
}
handleChange (editor, changeObject) {
spellcheck.handleChange(editor, changeObject)
spellcheck.liveSpellcheck(editor, changeObject)
this.value = editor.getValue()
if (this.props.onChange) {
this.props.onChange(editor)