Toddler won’t sleep in bed

My daughter is 20 months. She can climb out of her crib so we took the front part off. The thing is, she won’t sleep in it. The moment we shut the door, she grabs her blanket, cup and pillow, drags it to the door and sleeps right against the door. I tried to put her mattress on the floor, she just won’t lay in it. If I keep her door open, she just comes into my room and lays on the floor. Even tried putting her mattress in my room. She just won’t do it. Is it okay to keep letting her sleep on the floor? I’m not really sure what to do. We tried to just keep putting her back in bed but it doesn’t work. I