[GH-ISSUE #1] Replace content in conteneditable #3

Open
opened 2026-03-03 16:44:28 +03:00 by kerem · 0 comments
Owner

Originally created by @nucleartux on GitHub (Sep 18, 2024).
Original GitHub issue: https://github.com/nucleartux/ai-grammar/issues/1

Currently, the behavior in "textarea" and "contenteditable" elements is different.
When we click the extension button in a "textarea," it replaces the content.
However, when we click the same button in a "contenteditable" element, it copies fixed content to the clipboard.

This is done because I don't know how to replace content in a "contenteditable" element, or if it's even possible.

Originally created by @nucleartux on GitHub (Sep 18, 2024). Original GitHub issue: https://github.com/nucleartux/ai-grammar/issues/1 Currently, the behavior in "textarea" and "contenteditable" elements is different. When we click the extension button in a "textarea," it replaces the content. However, when we click the same button in a "contenteditable" element, it copies fixed content to the clipboard. This is done because I don't know how to replace content in a "contenteditable" element, or if it's even possible.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ai-grammar#3
No description provided.