diff options
author | bobzel <zzzman@gmail.com> | 2021-02-16 23:58:54 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-02-16 23:58:54 -0500 |
commit | 1a31f3ae5d1b90deb9888bb4df863079f4837f53 (patch) | |
tree | 3af8e0ce5a68b3ef4e46ee2e6b49d88f5b208a49 /src/client/views/nodes/formattedText/ProsemirrorExampleTransfer.ts | |
parent | 05b87c394731fbed21f9b358967c337ce294272d (diff) |
added a file system mode for tree View. ctrl-f to create file system.
Diffstat (limited to 'src/client/views/nodes/formattedText/ProsemirrorExampleTransfer.ts')
-rw-r--r-- | src/client/views/nodes/formattedText/ProsemirrorExampleTransfer.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/ProsemirrorExampleTransfer.ts b/src/client/views/nodes/formattedText/ProsemirrorExampleTransfer.ts index 8d9d36580..243cfc6de 100644 --- a/src/client/views/nodes/formattedText/ProsemirrorExampleTransfer.ts +++ b/src/client/views/nodes/formattedText/ProsemirrorExampleTransfer.ts @@ -49,7 +49,7 @@ export function buildKeymap<S extends Schema<any>>(schema: S, props: any, mapKey /// bcz; Argh!! replace with an onEnter func that conditionally handles Enter const addTextBox = (below: boolean, force?: boolean) => { - if (props.Document.treeViewOutlineMode) return true; // bcz: Arghh .. need to determine if this is an treeViewOutlineBox in which case Enter's are ignored.. + if (props.Document.treeViewType === "outline") return true; // bcz: Arghh .. need to determine if this is an treeViewOutlineBox in which case Enter's are ignored.. const layoutDoc = props.Document; const originalDoc = layoutDoc.rootDocument || layoutDoc; if (force || props.Document._singleLine) { |