From 3ad38f0445178bdfe025e4f6da60f68f03876f56 Mon Sep 17 00:00:00 2001 From: laurawilsonri Date: Sat, 23 Feb 2019 23:14:13 -0500 Subject: letter is typed into box, but the cursor isn't positioned correctly and the box isn't selected --- src/fields/Key.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/fields/Key.ts') diff --git a/src/fields/Key.ts b/src/fields/Key.ts index 8d92b89b6..eeda7be4e 100644 --- a/src/fields/Key.ts +++ b/src/fields/Key.ts @@ -54,4 +54,12 @@ export namespace KeyStore { export const LayoutKeys = new Key("LayoutKeys"); export const LayoutFields = new Key("LayoutFields"); export const ColumnsKey = new Key("SchemaColumns"); + + //used for setting the text of a text document + export const Text = new Key("Text"); + //determines whether doc views will be selected when they are first loaded + //should be NumberField where 0 = false and 1 = true + //currently only implemented for FormattedTextView + export const SelectOnLoaded = new Key("SelectOnLoaded"); + } \ No newline at end of file -- cgit v1.2.3-70-g09d2