We’re having an issue with our editor which is using prosemirror under the hood. What we want is to have a shortcut “Cmd+Shift+m” to toggle code mark: https://bitbucket.org/atlassian/atlaskit-mk-2/src/master/packages/fabric/editor-core/src/keymaps/index.ts?at=master&fileviewer=file-view-default#index.ts-8
Unfortunately this keymap never gets executed. I dived a bit into prosemirror-keymap and got stuck with modifiers() function behaviour especially third argument “shift”. It looks like when we press Cmd+Shift+m, this variable is always equal to false
and because of this final modifier is always missing “Shift-”. In our case it’s “Meta-m” while we’re waiting for “Shift+Meta+m”.
Maybe I’m missing smth here and we’re not supposed to use Shift modifiers?