aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionFreeFormView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/collections/CollectionFreeFormView.tsx')
-rw-r--r--src/client/views/collections/CollectionFreeFormView.tsx2
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;