I have read but we haven’t seen a power transference like that on the show, so I’m inclined to think that Regina asked her mother to teach her and then, lock her up for killing Daniel.
correction: I forgot about the Dark One. but I don’t think Cora started out with all that power. She learned it.