From c2dead205fe719881ca7e254c1872e03a2da9b3d Mon Sep 17 00:00:00 2001 From: ab Date: Wed, 24 Jul 2019 11:14:33 -0400 Subject: idk --- src/client/util/ProsemirrorExampleTransfer.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client/util/ProsemirrorExampleTransfer.ts') 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>(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)); } -- cgit v1.2.3-70-g09d2