fix input contenteditable bug