Skip to content

[BUG] User can still changes the content when readOnly is true with kb style shortcuts #294

@dennisat

Description

@dennisat

Your environment

Mac: 13.5.1 Chrome: 116.0.5845.140

Repro

  1. Do: As a developer, set the readOnly property to true
  2. Do: As a user, select a word from the markdown text and press ctrl-b (to make it bold)
  3. Observerd: The word got in bold!
  4. Expected: No change should done on readOnly={true}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions