Hi, I am using a rich text block to pull data from my Airtable database. Field is formatted as rich text editable in Airtable and has formatting like bold, line breaks, links, bullets and paragraphs.
Problems I am observing in Weweb,
Links never work (100% of the time)
Bolds are inconsistent
Line breaks don’t work
And then this… see the attached image… Half of it is rendering bold, other half showing the Markdown coding and not rendering properly. This is all the same block. Not sure this is even possible. Also none of the line breaks are rendered.
Happy to find out that i am making an error but Rich Text Block seems like a very half cooked and released function in the system.
Is the necessity of the <br> tag intended for line breaks in rich text element? I’m working with a similar setup: rich text field in airtable pulling into WeWeb.
Screenshotted is the same data, top binded to a normal text element, bottom binded to a rich text element.
Note that the regular text element does correctly pick up the line breaks from the input data, while the rich text doesn’t (I added a <br> tag after the first line of data to test).
Before I go adding <br> tags across all my records, is this intended behavior of the rich text element? Or is there a more efficient way to get the desired output with the rich text element besides adding <br> in all my data? @Joyce
Arbitrary HTML is needed when you want an effect that isn’t covered by markdown conventions. But it looks like something else going on in here. Pulling the original JSON from the Airtable API request might give a lot more clarity. You can open dev tools on your browser, find the request, and pull that into a text file or some such so we can take a better look.