Publix agreed to operate a new grocery store downtown as West Palm Beach commissioners preliminarily approved selling the company the land.