see this https://medium.com/medium-eng/why-contenteditable-is-terrible-122d8a40e480