diff options
author | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-16 01:35:34 +0800 |
---|---|---|
committer | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-16 01:35:34 +0800 |
commit | e9fec777255051c579cd5468b4f0ff735a6e06ab (patch) | |
tree | 14e32b72e560fbfabc667f3c1378c49ea012a26d /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | 87aa11c70be1ae0270c69adc0c1e0219f79ce820 (diff) | |
parent | 3dab85351e1fe862a54294cec70e7139abea0d7d (diff) |
Merge branch 'mobile_revision_direct' of https://github.com/browngraphicslab/Dash-Web into mobile_revision_direct
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index e034e07a0..b0b648b66 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -188,7 +188,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp } } const state = this._editorView.state.apply(tx); - this._editorView.updateState(state); + this?._editorView?.updateState(state); (tx.storedMarks && !this._editorView.state.storedMarks) && (this._editorView.state.storedMarks = tx.storedMarks); const tsel = this._editorView.state.selection.$from; |