Text this: Vortex confinement through an unquantized magnetic flux