Skip to content

Conversation

@rameel
Copy link
Owner

@rameel rameel commented Dec 21, 2025

Use el.isContentEditable instead of checking el.contentEditable === "true"

The isContentEditable property already correctly returns true for all valid editable states:

  • <div contenteditable="true">
  • <div contenteditable="plaintext-only">

@rameel rameel merged commit f3e8937 into main Dec 21, 2025
1 check passed
@rameel rameel deleted the support-contenteditable-plaintext-only branch December 21, 2025 20:48
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.

2 participants