cmd+b and cmd+i should generate a keydown event in contentEditable fields. Also, calling preventDefault() in the keydown event should cancel the text styling.