Used contenteditable span/div but it doesn't work in Safari.