@ericandrewlewis
Web Developer @
The New York Times
https://medium.engineering/why-contenteditable-is-terrible-122d8a40e480
<NYTVIDEO id="1000001230101"> <p>The <a href="http://topics.nytimes.com/top/reference/timestopics/organizations/s/supreme_court/index.html?inline=nyt-org">Supreme Court</a> announced on Thursday that it had deadlocked in a case challenging President Obama’s immigration plan, effectively ending what Mr. Obama had hoped would become one of his central legacies. The program would have shielded as many as five million undocumented immigrants from deportation and allowed them to legally work in the United States.</p>
*Not an actual quote, software doesn't talk
{
type: "doc",
content: [
{
type: "heading1",
content: [
{text: "Hello "},
{text: "WordCamp Europe", formats: ["bold"]}
]
},
{
type: "paragraph",
content: [
{text: "Enjoy your afternoon!"}
]
}
]
}
{ type: 'replace', from: 2, to: 2, content: 'i' }
{ from: 1, to: 1, type: replace, content: 'H' }
{ from: 2, to: 2, type: replace, content: 'e' }
{ from: 3, to: 3, type: replace, content: 'l' }
{ from: 4, to: 4, type: replace, content: 'l' }
{ from: 5, to: 5, type: replace, content: 'o' }