react-markdown-editor-lite
react-markdown-editor-lite copied to clipboard
[BUG] User can still changes the content when readOnly is true with kb style shortcuts
Your environment
Mac: 13.5.1 Chrome: 116.0.5845.140
Repro
- Do: As a developer, set the
readOnlyproperty totrue - Do: As a user, select a word from the markdown text and press ctrl-b (to make it bold)
- Observerd: The word got in bold!
- Expected: No change should done on
readOnly={true}