diff options
author | bob <bcz@cs.brown.edu> | 2019-06-13 11:58:41 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-06-13 11:58:41 -0400 |
commit | 5c8e4ee0c87b140f01f0d287af04fe205a80a584 (patch) | |
tree | dea35fe98ed404b762d8bbfcc7ba772225bda8f0 /src/client/util/ProsemirrorExampleTransfer.ts | |
parent | 95674ee7f68782d1ce85858120efea956825bcb9 (diff) | |
parent | e81e116b89fad0f3fcfb76039b0b802073307478 (diff) |
Merge branch 'master' into rich_text_linking
Diffstat (limited to 'src/client/util/ProsemirrorExampleTransfer.ts')
-rw-r--r-- | src/client/util/ProsemirrorExampleTransfer.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/ProsemirrorExampleTransfer.ts b/src/client/util/ProsemirrorExampleTransfer.ts index 964720b06..091926d0a 100644 --- a/src/client/util/ProsemirrorExampleTransfer.ts +++ b/src/client/util/ProsemirrorExampleTransfer.ts @@ -1,4 +1,4 @@ -import { Schema } from "prosemirror-model"; +import { Schema, NodeType } from "prosemirror-model"; import { wrapIn, setBlockType, chainCommands, toggleMark, exitCode, joinUp, joinDown, lift, selectParentNode @@ -50,7 +50,7 @@ export default function buildKeymap<S extends Schema<any>>(schema: S, mapKeys?: } if (type = schema.nodes.bullet_list) { - bind("Ctrl-b", wrapInList(type)); + bind("Ctrl-.", wrapInList(type)); } if (type = schema.nodes.ordered_list) { bind("Ctrl-n", wrapInList(type)); |