I am trying to implement a "fill-in-the-blank" feature using Bootstrap, where users need to enter a missing word to complete a sentence.
Is there a way to align the text input horizontally and have the rest of the sentence wrap around it?
This is my current code snippet:
elit at imperdiet dui accumsan <form class="form-inline">
<div class="form-group">
<input type="text" class="form-control" id="textInput" placeholder="...">
</div>
</form> sit amet nulla facilisi morbi tempus iaculis urna id volutpat
Here is a preview of how it appears (with text input separated by line breaks):
https://i.sstatic.net/NRI7J.png
You can view the complete implementation on this fiddle: https://jsfiddle.net/f58hzou3/