Use a textarea instead of contenteditable to avoid browser woes