diff options
author | bob <bcz@cs.brown.edu> | 2019-08-01 15:05:38 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-08-01 15:05:38 -0400 |
commit | ff5fbd1206a065eabab917def7d83337a0442cab (patch) | |
tree | 07c2f86558f9255b9e5a69e032287b8d0539dbd5 /src/client/util/ProsemirrorExampleTransfer.ts | |
parent | 49faa4e76f91fed04bb1923d81dd23d57a157a63 (diff) | |
parent | 6f3d4a7015e15e0523fc194f7f911f6d45259165 (diff) |
Merge branch 'master' into grouping
Diffstat (limited to 'src/client/util/ProsemirrorExampleTransfer.ts')
-rw-r--r-- | src/client/util/ProsemirrorExampleTransfer.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/util/ProsemirrorExampleTransfer.ts b/src/client/util/ProsemirrorExampleTransfer.ts index fa9e2e5af..c38f84551 100644 --- a/src/client/util/ProsemirrorExampleTransfer.ts +++ b/src/client/util/ProsemirrorExampleTransfer.ts @@ -47,6 +47,10 @@ export default function buildKeymap<S extends Schema<any>>(schema: S, mapKeys?: bind("Mod-i", toggleMark(type)); bind("Mod-I", toggleMark(type)); } + if (type = schema.marks.underline) { + bind("Mod-u", toggleMark(type)); + bind("Mod-U", toggleMark(type)); + } if (type = schema.marks.code) { bind("Mod-`", toggleMark(type)); } |