Greetings!
I don't quite see where the problem is, frankly. Clerics heal when they can, and when they can't, they launch flamestrike spells, or spiritual weapon, or blade barrier, or just pick up their mace and shield, and stride into battle, to aid the fighter, or protect the wizard, whatever...