Page 1 of 1

Change font-size from text field with html tags

Posted: Mon Aug 05, 2024 7:02 pm
by RafaelTaranto
Hello, good afternoon!

I have an specific text field, where i get the text from a field in my database. In this field, i can have html tags and text. This field has configuration to accept html tags. However, when i try to change the font-size, nothing happens. I tried to make this change by font-size html tag, but the field breaks part of the text, in the stimulsoft-viewer-angular. How can i adjust font-size, without break the content inside the field?

Re: Change font-size from text field with html tags

Posted: Thu Aug 08, 2024 10:34 am
by Max Shamanov
Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more detail?

Thank you.

Re: Change font-size from text field with html tags

Posted: Thu Aug 08, 2024 1:56 pm
by RafaelTaranto
Hello, Good Morning!

I have a report where one of my fields is a text type field, and inside this field i receive values from a SQL connection. For this field, i receive text with some html tags, like <p>, <br>. For this text field, i have configuration to allow html tags:
initial configuration of the field with problem.
initial configuration of the field with problem.
field-configuration.png (101.02 KiB) Viewed 7027 times
But i can't change the font-size from this specific field.
result-without-font-size-tag.png
result-without-font-size-tag.png (7.98 KiB) Viewed 7027 times
I have tried something like adding <font-size> tag:
field-configuration-2.png
field-configuration-2.png (123.81 KiB) Viewed 7027 times
But part of the text is missing now, because of the font-size tag:
result-with-font-size-tag.png
result-with-font-size-tag.png (5.25 KiB) Viewed 7027 times
I want to know how to solve this problem, avoiding losing part of the text.

Re: Change font-size from text field with html tags

Posted: Mon Aug 12, 2024 10:17 pm
by Lech Kulikowski
Hello,

Please try to check the last release build.
If the issue is still present, please send us a sample report with test data that reproduces the issue for analysis.

Thank you.