Basically when the user click on the text inside of should go to a different page, is that possible inside of one text element?
I know i could create a second text element but how can I make sure the second text will dynamically move when the first text element is bigger or smaller than expected?
I hope i was clear enough, if not please let me know and I will try to explain in a different way.
I know i could create a second text element but how can I make sure the second text will dynamically move when the first text element is bigger or smaller than expected?
Well, youâre right here, you canât. Text elements canât adapt their width depending on the text itself.
What you can do though, is to use BBCode to create links inside your text element as shown in the picture below. Just use âRich text editorâ to help you with the formatting.
In case you donât even need any description in your link (ie https://bubble.com instead of This is Bubble) you can tick the "Recognize links and emails box and the links will be clickable.
Following the same logic you can dynamically create the link so that it targets an internal page.
Here is an example on how I would implement it considering âbuilderâ is the name of the targeted page.
âWebsite home URLâ = âYourappâ or just âyourapp.bubbleapps.io/â when visiting the live version.
âtarget=â_self"" means it will open in the current tab. Otherwise just remove it to open the link in a new one.
I see I can do send to a link inside my app using my app href, but my questions is, as you saw on my pictures, the text inside the is also a dynamic data coming from one of my lists, how can I send through the BBCode?
for example:
[Objektivity] is a thing and I want this thing sent to my destination page, in a standard way I would create a workflow and would send it through the option Data to send:
Basically when you send data to a page, Bubble just adds the unique ID of the element after the URL. The targeted page is then populated with the object with this unique ID.
Recently, Bubble introduced the âSlugâ feature allowing one to reference to an object with a âreadableâ unique text instead of its unique ID (-> New Slug Feature for Customizable URLs)