fix contenteditable bug