A woman from Prestatyn accused of murdering her former partner previously “split his head open with a cider bottle,” a court heard.