Replace contenteditable with input fields, for better IE support.