diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-12-10 22:39:43 -0500 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-12-10 22:39:43 -0500 |
| commit | 7a5c3d931381cc698d01b710a2576117449cf302 (patch) | |
| tree | 1c0ea138a5d741492507441cc4921a67ca25f055 /src/client/views/nodes/DocumentView.tsx | |
| parent | c17b200f6d0cb136851b798f280aba9b3862c337 (diff) | |
cleaned up userMarks a bit (got rid of 'opened' attr). added @ markup to create collection from text selection
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 727d631c4..24cc0b5ea 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -644,7 +644,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu contents={this.Document[showTitle]} display={"block"} height={72} fontSize={12} GetValue={() => StrCast(this.Document[showTitle])} - SetValue={(value: string) => (Doc.GetProto(this.Document)[showTitle] = value) ? true : true} + SetValue={undoBatch((value: string) => (Doc.GetProto(this.Document)[showTitle] = value) ? true : true)} /> </div>); return <> |
