Truncated text doesn't get formatted as bbcode

Hello.

On my bubble app, I collapse long posts to save space. But when I do that, it no longer formats the text as bb code. Here’s how it looks like when collapsed (default):

Here’s what I see when I expand it (this works fine):

This is how I truncate the text.

2 questions:

  1. Can I format truncated text as bbcode?
  2. If not, in what other way would you achieve the outcome I’m looking for?

Thanks :pray:

Hi @sina

For this the other way around is :
you can check the option in text element(cut off content if element is not tall enough).
Then you don’t need to worry about number of character.Content will be automatically set according to the height of text.

Thanks
Yashasvi Singh
Senior developer at TRYNOCODE

Preview:
https://just4tests6.bubbleapps.io/version-test/regex_1

Editor:


Regex:
\[[^]*?\]

1 Like

Requires a password, can’t try

login:
username

password:
password

I don’t have this option :thinking:

this worked okay, just 1 issue: it remove the styles.

Collapsed:

after expanding: