madebymany/sir-trevor-js

letter i sometimes stuck in toggle-italic mode and no longer working as a letter

ToBe998 opened this issue · 3 comments

While entering text in the normal text box of Sir-Trevor (Scribe?), the i key spontanously reacts as if you pressed the cmd key (on Mac). Because of this, the i key changes italic mode but will no longer appear as a letter until you forcedly press cmd+i to end toggle-italic mode.

If this is not fixable, is there at least a way to disable the keyboard shortcuts alltogether? I think our editors are running out of words without i.

OS: Mac OSX 10.12.1
Browser: Chrome 55
Sir-Trevor: v0.6.1

meshy commented

I can't help but wish this issue had been opened without using the letter i :P

we'll try to rephrase :D

Im trying to disable the keyCodes for italic and bolt commands in scribe (inside the minified code for now). I can change the title and icon of those two commands in the formatBar of scribe, but no matter what id do with keyCode, the italic keyboard shortcuts still work.

Did I miss anything?

What i did:

  • Search for italic in minified code
  • comment or remove the keycode:73, part of the command.
  • Open editor and try cmd+i (still works)