diff options
author | ab <abdullah_ahmed@brown.edu> | 2019-07-24 11:14:33 -0400 |
---|---|---|
committer | ab <abdullah_ahmed@brown.edu> | 2019-07-24 11:14:33 -0400 |
commit | c2dead205fe719881ca7e254c1872e03a2da9b3d (patch) | |
tree | c370d84668de789981f414db6e303e849dd95574 /src/client/util/ProsemirrorExampleTransfer.ts | |
parent | 13c016d7f7765acda7f6ce2d69c14597469f55d7 (diff) |
idk
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)); } |