uiwjs / uiwjs/react-codemirror

Editor content is still editable when editable = false

Open
#488 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.3k
Forks
161
PR merge metrics
No merged PRs in 30d

Description

In the latest patch release, even when I have editable=false, I can still edit the content of the editor. This bug appears in the demo here as well when "editable" is unchecked. https://uiwjs.github.io/react-codemirror/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the linked react-codemirror demo with "editable" unchecked, then trace how the editable prop is passed into the editor. Done means the editor content can no longer be changed when editable=false, both in the demo and in the affected component behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.