Editable regions and spellcheck
Makes any element editable; the browser spellcheck may run on what is typed.
In one line
Can turn parts of a page into a text editor you can type in
Makes any element editable; the browser spellcheck may run on what is typed.
A site can build rich editors from plain HTML. With a cloud assisted spellcheck on, typed text can leave the device, so editing in a web page is not always private.
What it can and can't do
What the user does: You click into an editable box and start typing
It can
- Let you type, format and edit text right on the page
- Run browser spellcheck on what you type
- Send what you type to the site's servers when it chooses to
It cannot
- Show a permission pop up; there is none
- Check spelling in the cloud unless that browser setting is on
- See text you type on other pages or in other apps
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 1 | 2008-12-11 | None |
| Edge | Supported | 12 | 2015-07-29 | None |
| Firefox | Supported | 3 | 2008-06-17 | None |
| Safari | Supported | 3 | 2007-10-26 | None |
| Safari on iPhone | Supported | 1 | 2007-06-29 | All iOS browsers use WebKit |
| Chrome on Android | Supported | 18 | 2012-06-27 | None |
| Samsung Internet | Supported | 1.0 | 2013-04-27 | None |
How a site asks for it
| API | contenteditable=true|plaintext-only; spellcheck attribute; document.execCommand (legacy); Selection and Range |
| Browser compat keys | api.HTMLElement.contentEditableapi.HTMLElement.spellcheck |
| How access is granted | none |
| What the user sees | None (no browser prompt) |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| Activation | none |
| How long it lasts | While the element exists |
| How to take it back | Nothing to revoke (no permission is stored) |
| Inside an iframe | No iframe flag; designMode on iframes is allowed |
Typical flow
- Set contenteditable on an element
- Person types or pastes
- Page reads innerHTML and beforeinput events
Data you get
Shape: none
No individual data fields. The signal is the access itself.
Technical limits
- contenteditable=plaintext-only: Chrome 51, Safari 11.1, Firefox 136
- execCommand is deprecated but still shipped in all browsers
- Spellcheck: Chrome default is on device; Enhanced spell check sends text to Google servers; Edge uses its own service when enabled; Firefox and Safari check locally
- Browser extensions (for example grammar tools) can read and change editable regions
The story
What it is
Makes any part of a page editable, with spellcheck that may check what you type.
For you
You click into a block of text on a page and type as if in a word processor. You may see red squiggly lines under typos. If a cloud spellcheck is on, what you type may be sent off your device.
For makers
Makers build rich editors for posts, docs and messages without extra software. Spellcheck is a free feature that keeps users writing instead of leaving.
Where you see it
| Type | Example | Apps |
|---|---|---|
| productivity | An online document editor lets a team type in the same file and see each other's cursors live. | Google Docs, Notion |
| social | A social post box lets you type, bold and add links before you publish. | LinkedIn, Medium |
| messaging | A web email composer gives spell check and formatting as you write. | Gmail, Outlook |
| games | A game's in browser chat box or level editor uses editable text so players can name items and write messages. | None named |
| developer | A browser code editor uses editable text to show typing, with live feedback. | CodePen |
| security | If cloud spellcheck is on, passwords or secrets typed in an editable region may leave the device. | None named |
Risks
- Cloud spellcheck may send text
- Typing visible to the site
What the platform says
- MDN (standards docs): contenteditable. Describes the attribute that makes any element editable, used to build rich text editors.
Good uses and abuse
Legitimate uses
- Rich text and code editors
- Comment boxes
Known abuse
- Collecting everything typed into editors (session replay)
- Third party spellcheck leakage in cloud mode
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 3 of 5 | How revealing the data is |
| Utility | 5 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2016-05, Chrome 51: contenteditable plaintext-only
- 2025-02, Firefox 136: contenteditable plaintext-only
Related capabilities
Related
- EditContext (custom text input). Can run its own text editor that still gets your keyboard and emoji input
Sources
How well checked: Based on official documentation.