Support filling in `contenteditable` elements, closes #911