Using textbox for cloze tests

OS: macOS Sonoma 14.0
PsychoPy version: 2023.2.3
Standard Standalone?: yes

This might have been asked already somewhere in the forum, but I was unable to find it. That’s why I am trying to find a solution.
I want to use the textbox tool to operate a cloze test for testing the proficiency level of participants.
Is there a way to do this without adding textboxes for each blanks, alongside constantly checking the height and layout of the text and textboxes?

Thank you.