Hey guys, I’m having trouble with HTML code, could you please advise me on what I’m doing wrong?
First, I format the text using a rich text editor plugin, then I try to transfer BBCode into HTML code using other plugins. After transferring BBCode to HTML, I test this code using external resources. Once I’ve ensured its correctness, I paste it into an HTML element within the Bubble editor (see screenshot 1), and everything works fine until I press the “preview” button, then this happens (see screenshot 2).
The first paste to HTML element is actually not formatted even though it looks like it. HTML element is plain text (again even if after a paste it looks like formatted). You can probably check this if you refresh the editor, then, check the html element value.
All above is as far as I experienced. So, technically the text you pasted into html element should have proper html tags etc to be viewed correctly.
How does yours look like? Not in the editor, but in the property box of the html element.
This is how it looks before pasting into html element:
<h3>The Charm of Small-Town Living: Embracing a Slower Pace</h3>
<h4>April 5, 2024</h4>
<p>In the hustle and bustle of modern life, many of us find ourselves dreaming of a quieter, simpler existence. The allure of small-town living, with its close-knit communities and slower pace, has become increasingly appealing in recent years. Today, let's delve into the heartwarming charm of small-town life and explore why more people are trading city skyscrapers for country sunsets.</p>
<h5>The Heartbeat of the Community</h5>
<p>In small towns, the sense of community is palpable. Neighbors aren't just familiar faces; they're friends, confidantes, and sometimes feel like extended family. Community events, from local farmers' markets to town fairs, are not just social gatherings but integral parts of the social fabric that binds everyone together. There's a unique sense of belonging and togetherness that often eludes larger cities.</p>
Without changes, as I mentioned earlier, after inserting HTML code into an HTML element within editor, it is transformed into formatted text, but after previewing, this text remains unformatted unfortunately