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

fix cursor sync

This commit is contained in:
Baptiste Augrain
2020-05-15 02:57:00 +02:00
parent 7116c305ca
commit 9b6a61a91c

View File

@@ -158,6 +158,10 @@ export default class CodeEditor extends React.Component {
}
handleEditorActivity() {
if (this.props.onCursorActivity) {
this.props.onCursorActivity(this.editor)
}
if (!this.textEditorInterface.transaction) {
this.updateTableEditorState()
}