How to rotate Tangents with spline point on runtime?

I am currently trying to have players be able to make sloped surfaces using splines, however, i cannot seem to understand how to have the tangents be rotated with the spline points. Im sure its some super complicated math. I noticed that if you rotate a spline point in the engine, it rotates the tangents with it, but why does it not do that on runtime?