Print Dataset In Text Format?

This should be more simple than I’m making it out to be. I have a dataset with one column and 20 rows of data. When I try to connect a text box from my page to this dataset, it only prints the first row of data. I want it to print all of it. I’ve figured out how to do this in a table, but that’s not what I’m wanting. I just need all of the data, in a paragraph, on one line. Is this possible?

$w.onReady( () => {
  $w("#dataset1").onReady( () => {
    $w("#dataset1").getItems(0, 1000)
      .then( (result) => {
        let items = result.items;
        let allTexts = "";
        for(let i = 0; i < items.length; i++){
          allTexts += items[i].title + " ";//use your own field key instead of "title"
      }
      $w("#text1").text = allTexts;

      } )
      .catch( (err) => {
        let errMsg = err.message;
        let errCode = err.code;
      } );
  } );
} );