diff options
author | laurawilsonri <laura_wilson@brown.edu> | 2019-02-23 23:14:13 -0500 |
---|---|---|
committer | laurawilsonri <laura_wilson@brown.edu> | 2019-02-23 23:14:13 -0500 |
commit | 3ad38f0445178bdfe025e4f6da60f68f03876f56 (patch) | |
tree | 1ae0eccce9e44aa23028f7da4dcb0500932b0807 /src/client/views/collections/CollectionFreeFormView.tsx | |
parent | c2400538b8ca4b68eb8767c8976531202f2ee748 (diff) |
letter is typed into box, but the cursor isn't positioned correctly and the box isn't selected
Diffstat (limited to 'src/client/views/collections/CollectionFreeFormView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionFreeFormView.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionFreeFormView.tsx b/src/client/views/collections/CollectionFreeFormView.tsx index e1b1db685..a53df2d38 100644 --- a/src/client/views/collections/CollectionFreeFormView.tsx +++ b/src/client/views/collections/CollectionFreeFormView.tsx @@ -214,6 +214,8 @@ export class CollectionFreeFormView extends CollectionViewBase { //newBox.SetData(KeyStore.Data, e.key, RichTextField); //SelectionManager.SelectDoc(newBox, false); this.addDocument(newBox); + newBox.SetText(KeyStore.Text, e.key); + newBox.SetNumber(KeyStore.SelectOnLoaded, 1); //remove cursor from screen this._previewCursorVisible = false; |