Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

Bold, Italics keyboard shortcuts doesn't work on Windows & Linux (Chrome + Mozilla), when Caps Lock is turned ON #895

Description

@Dinesh1902

Issue details

Keyboard shortcuts for formatting will stop working, when the CAPSLOCK key is ON - for Windows 10 & Linux (Ubuntu) (Chrome + Firefox)

Steps to reproduce

On a Windows PC or l atest Ubuntu visit the demo with Chrome (mine's on version 72.0.3626.109 64 bit) browser. Also reproducible in Firefox. Works fine in IE & Edge.

ProseMirror version

Latest Version

Affected platforms

OS

  • Windows
  • Mac
  • Linux

Browser

  • Chrome
  • Firefox
  • Internet Explorer
  • Other

Current Workaround

When binding keys I bind bold & italics for both Uppercase & Lowercase.

if (type = schema.marks.strong) {
  bind("Mod-B", toggleMark(type))
  bind("Mod-b", toggleMark(type))
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions