From 93c50b6ea3b24994d836ad24c8476c9f9012a089 Mon Sep 17 00:00:00 2001 From: bobzel Date: Thu, 8 Oct 2020 21:57:50 -0400 Subject: added direct typing of notes into stacking columns in text box sidebar. --- src/client/views/collections/CollectionStackingViewFieldColumn.tsx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/client/views/collections') diff --git a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx index 1bc989e83..74ea824cd 100644 --- a/src/client/views/collections/CollectionStackingViewFieldColumn.tsx +++ b/src/client/views/collections/CollectionStackingViewFieldColumn.tsx @@ -130,6 +130,11 @@ export class CollectionStackingViewFieldColumn extends React.Component { + return this.addDocument(char, false); + } + @action addDocument = (value: string, shiftDown?: boolean) => { if (!value) return false; @@ -300,6 +305,7 @@ export class CollectionStackingViewFieldColumn extends React.Component "", SetValue: this.addDocument, + textCallback: this.textCallback, contents: "+ NEW", HeadingObject: this.props.headingObject, toggle: this.toggleVisibility, -- cgit v1.2.3-70-g09d2