diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-29 16:39:17 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-29 16:39:17 -0400 |
| commit | 4f3c8cfab12f1c5fff27faa0998a286d210148d2 (patch) | |
| tree | bd3945a93693947599dbe9eaf60b5f5852e514d1 /src/client/views/nodes/formattedText/ProsemirrorExampleTransfer.ts | |
| parent | f5a9d196a96f9a81436fa8de8659eaa51a131d81 (diff) | |
major restructure of how addDocTabs works. now you can add/replace with options for left/right/top/bottom and specific panel names
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 a65eea50f..c6bacc1a8 100644 --- a/src/client/views/nodes/formattedText/ProsemirrorExampleTransfer.ts +++ b/src/client/views/nodes/formattedText/ProsemirrorExampleTransfer.ts @@ -104,7 +104,7 @@ export function buildKeymap<S extends Schema<any>>(schema: S, props: any, mapKey //Command to create a new Tab with a PDF of all the command shortcuts bind("Mod-/", (state: EditorState<S>, dispatch: (tx: Transaction<S>) => void) => { const newDoc = Docs.Create.PdfDocument(Utils.prepend("/assets/cheat-sheet.pdf"), { _fitWidth: true, _width: 300, _height: 300 }); - props.addDocTab(newDoc, "onRight"); + props.addDocTab(newDoc, "add:right"); }); //Commands to modify BlockType |
