Wrapping text element in a repeating group

Hi all,

I am writing an article editing application. The idea is to identify the areas where edits is necessary, highlight it such that when I click on the highlighted text, it gives a pop up and shows what is the edit required.

What I’ve done: I’ve processed the raw article such that it splits it into smaller components. I then use a repeating group to show the article and used formatting to highlight the portions that require editing. However, the issue I have is when the text element is longer than the row, the text within the element wraps resulting in the element having a height of 2 rows. The next text element only continues on the next row instead of continuing from where the last word of the previous element ends.

ideally, the output should look like this:
Screenshot 2025-02-12 at 12.43.52 PM

Alright. I personally think what you try to do is not doable in native Bubble without custom html.

I could do it word-by-word once upon a time. Maybe if you can check that and try to find a way to highlight the sentence the word belongs to, you might at least pivot the problem. See the answer below:

This topic was automatically closed after 70 days. New replies are no longer allowed.