aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/FormattedTextBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-11-30 23:37:49 -0500
committerbobzel <zzzman@gmail.com>2021-11-30 23:37:49 -0500
commit91247d583e5e4c7205a1ed764dd0e3a12af3be25 (patch)
tree57ab31e582d1af356242c1805b7d4d27e91970ac /src/client/views/nodes/formattedText/FormattedTextBox.tsx
parentf313cfa5ae644eadb57d936bc81bd355e0c88e17 (diff)
fixed warnings/errors. added inkingStroke comments. need to double-click now to add a point to an ink stroke.
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
-rw-r--r--src/client/views/nodes/formattedText/FormattedTextBox.tsx2
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 9d0402075..72e84c141 100644
--- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx
+++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx
@@ -1146,7 +1146,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp
if (startupText) {
dispatch(state.tr.insertText(startupText));
} else if (!FormattedTextBox.LiveTextUndo) {
- selectAll(this._editorView!.state, (tr) => {
+ selectAll(this._editorView.state, (tr) => {
this._editorView!.dispatch(tr.replaceSelectionWith(state.schema.nodes.paragraph.create({ align: "center" })));
});
}