mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
fix cursor sync
This commit is contained in:
@@ -158,6 +158,10 @@ export default class CodeEditor extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleEditorActivity() {
|
handleEditorActivity() {
|
||||||
|
if (this.props.onCursorActivity) {
|
||||||
|
this.props.onCursorActivity(this.editor)
|
||||||
|
}
|
||||||
|
|
||||||
if (!this.textEditorInterface.transaction) {
|
if (!this.textEditorInterface.transaction) {
|
||||||
this.updateTableEditorState()
|
this.updateTableEditorState()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user