Skip to content

fix stale editor.isEditable bug - #2655

Merged
Philipinho merged 2 commits into
mainfrom
fix/is-editable
Nov 9, 2026
Merged

Philipinho merged 2 commits into
mainfrom
fix/is-editable

Conversation

@salihudickson

Copy link
Copy Markdown
Collaborator

Several node views read editor.isEditable directly during render. Tiptap mutates that value on a stable editor object, so React didn't re-render when the page switched between Edit and Read mode. The UI stayed stale (wrong controls, handles and disabled states) until the next interaction caused a render.

closes: #2615

@Philipinho
Philipinho merged commit 2e79aa4 into main Nov 9, 2026
6 checks passed
@salihudickson
salihudickson deleted the fix/is-editable branch November 9, 2026 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code block language selector remains editable after switching back to read mode

2 participants