👩‍🏫 Update tutorial example to match docs

pull/4291/head
himynameisdave 7 years ago
parent d031149b4e
commit 9a87cc712f
No known key found for this signature in database
GPG Key ID: CF799D9C390BE444

@ -2,7 +2,12 @@
title: Contenteditable bindings
---
Elements with a `contenteditable="true"` attribute support `textContent` and `innerHTML` bindings:
Elements with the `contenteditable` attribute support the following bindings:
- [`innerHTML`](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML)
- [`innerText`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText)
- [`textContent`](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent)
There are slight differences between each of these, read more about them [here](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent#Differences_from_innerText).
```html
<div

Loading…
Cancel
Save