Editable fields with HTML are getting reformatted and increasing font size
Editable fields with HTML are getting reformatted and increasing font size
In Reports.NET for the WEB MVC,
We have a number of reports that use Editable fields with HTML.
I have attached a sample template we use for testing.
We are upgrading from an older 2018 version of Stimulsoft, and see issues with the Editable fields when editing the fields. The font size and line spacing are changing after opening editable fields, per the attached screenshot.
Steps to reproduce:
1. Open the Stimulsoft demo site: https://designer.stimulsoft.com/
2. Open the following attached sample report. AHK0000KK.mrt
3. From the top, click the "Preview" tab.
4. The View should change and show a rendered report.
5. From the bottom right, change the Zoom level to 150%
6. From the toolbar, click the "Editor" button (next to the magnifying glass),
7. The editable fields should be highlighted in a pale yellow.
8. Click in the first editable field, and the backing HTML should appear.
9. Click out of the field, anywhere on the report. The editable field should change back to text.
10. From the toolbar, click the "Editor" button again. This should turn off the editable fields.
11. The editable field we had clicked in, will change. All the text in it will get bigger. And the line spacing will increase. We expect to see no change to font size, line spacing or indentations with the bullet points.
I have attempted to determine which version this issue was introduced, and it looks like there have been several bugs introduced and fixed over several versions.
Version 2025.4.1 appears to be when then font size issue was introduced. It was not there on previous version.
The line spacing issue has been there for longer.
Older versions removed the indent on the UL/LI bullet points, but it was fixed in 2025.4.1.
None of these issues were present in 2018, except for the line spacing issue, which would only happen after editing the field, and then changing the zoom.
We have a number of reports that use Editable fields with HTML.
I have attached a sample template we use for testing.
We are upgrading from an older 2018 version of Stimulsoft, and see issues with the Editable fields when editing the fields. The font size and line spacing are changing after opening editable fields, per the attached screenshot.
Steps to reproduce:
1. Open the Stimulsoft demo site: https://designer.stimulsoft.com/
2. Open the following attached sample report. AHK0000KK.mrt
3. From the top, click the "Preview" tab.
4. The View should change and show a rendered report.
5. From the bottom right, change the Zoom level to 150%
6. From the toolbar, click the "Editor" button (next to the magnifying glass),
7. The editable fields should be highlighted in a pale yellow.
8. Click in the first editable field, and the backing HTML should appear.
9. Click out of the field, anywhere on the report. The editable field should change back to text.
10. From the toolbar, click the "Editor" button again. This should turn off the editable fields.
11. The editable field we had clicked in, will change. All the text in it will get bigger. And the line spacing will increase. We expect to see no change to font size, line spacing or indentations with the bullet points.
I have attempted to determine which version this issue was introduced, and it looks like there have been several bugs introduced and fixed over several versions.
Version 2025.4.1 appears to be when then font size issue was introduced. It was not there on previous version.
The line spacing issue has been there for longer.
Older versions removed the indent on the UL/LI bullet points, but it was fixed in 2025.4.1.
None of these issues were present in 2018, except for the line spacing issue, which would only happen after editing the field, and then changing the zoom.
- Attachments
-
- StimulsoftEditableFieldChange.png (32.82 KiB) Viewed 2544 times
-
- AHK0000KK.mrt
- (15.92 KiB) Downloaded 26 times
-
Lech Kulikowski
- Posts: 7630
- Joined: Tue Mar 20, 2018 5:34 am
Re: Editable fields with HTML are getting reformatted and increasing font size
Hello,
We have been able to reproduce the issue, but it will require more time to resolve. Rest assured that we will keep you informed of our progress and let you know the results as soon as possible.
Thank you.
#18823
We have been able to reproduce the issue, but it will require more time to resolve. Rest assured that we will keep you informed of our progress and let you know the results as soon as possible.
Thank you.
#18823
-
Lech Kulikowski
- Posts: 7630
- Joined: Tue Mar 20, 2018 5:34 am
Re: Editable fields with HTML are getting reformatted and increasing font size
Hello,
The issue is fixed. Please check the next release in December.
Thank you.
The issue is fixed. Please check the next release in December.
Thank you.
Re: Editable fields with HTML are getting reformatted and increasing font size
Hi,
Is there any way of testing a pre-release of this change?
Even if it only online at https://designer.stimulsoft.com/ ?
Is there any way of testing a pre-release of this change?
Even if it only online at https://designer.stimulsoft.com/ ?
-
Lech Kulikowski
- Posts: 7630
- Joined: Tue Mar 20, 2018 5:34 am
Re: Editable fields with HTML are getting reformatted and increasing font size
Hello,
No. Only when the build was released.
Thank you.
No. Only when the build was released.
Thank you.
Re: Editable fields with HTML are getting reformatted and increasing font size
Hi, I've been testing the fixes, and have a new issue.
It appears that any text with a double quote in the HTML editable field will cause it to fail spectacularly.
Steps to reproduce:
1. Open the Stimulsoft demo site: https://designer.stimulsoft.com/
2. Open the following attached sample report. 3. From the top, click the "Preview" tab.
4. The View should change and show a rendered report. 5. From the toolbar, click the "Editor" button (next to the magnifying glass),
6. The editable fields should be highlighted in a pale yellow.
7. Click in the first editable field, and the backing HTML should appear.
8. Place a double quote at the start of the line.
Or paste in a valid piece of html with an attribute that contains a double quote:
9. From the toolbar, click the "Editor" button again. This should turn off the editable fields.
10. The editable field we had clicked in, will change, and raw HTML will be rendered across the report preview.
It appears that any text with a double quote in the HTML editable field will cause it to fail spectacularly.
Steps to reproduce:
1. Open the Stimulsoft demo site: https://designer.stimulsoft.com/
2. Open the following attached sample report. 3. From the top, click the "Preview" tab.
4. The View should change and show a rendered report. 5. From the toolbar, click the "Editor" button (next to the magnifying glass),
6. The editable fields should be highlighted in a pale yellow.
7. Click in the first editable field, and the backing HTML should appear.
8. Place a double quote at the start of the line.
Or paste in a valid piece of html with an attribute that contains a double quote:
Code: Select all
<p style="font-weight:bold">xxxx</p>10. The editable field we had clicked in, will change, and raw HTML will be rendered across the report preview.
-
Lech Kulikowski
- Posts: 7630
- Joined: Tue Mar 20, 2018 5:34 am
Re: Editable fields with HTML are getting reformatted and increasing font size
Hello,
Thank you for the additional information. We will check it and let you know about the result.
Thank you.
Thank you for the additional information. We will check it and let you know about the result.
Thank you.
-
Lech Kulikowski
- Posts: 7630
- Joined: Tue Mar 20, 2018 5:34 am
Re: Editable fields with HTML are getting reformatted and increasing font size
Hello,
The issue is fixed. Please check the next release build.
Thank you.
The issue is fixed. Please check the next release build.
Thank you.
Re: Editable fields with HTML are getting reformatted and increasing font size
We're still seeing one lingering issue with the formatting of bullet lists in the editable html field.
Under Stimsulsoft 2018, it would appear as such when editing. When the Field Editor was turned off, it looked perfect. Under Stimulsoft 2026.1.3, the editor looked right. However, when turning off the field editor, the rendering was lines was messed up. The bullet points are there, but underneath the text.
Steps to reproduce:
1. Open the Stimulsoft demo site: https://designer.stimulsoft.com/
2. Open the following attached sample report template. 3. From the top, click the "Preview" tab.
4. The View should change and show a rendered report.
5. From the toolbar, click the "Editor" button (next to the magnifying glass),
6. The editable fields should be highlighted in a pale yellow.
7. Click in the first editable field, and the backing HTML should appear.
8. Copy the following sample HTML, and paste into the template field.
9. From the toolbar, click the "Editor" button again. This should turn off the editable fields.
10. The editable field we had clicked in, will change, and the bullet list will be rendered.
Thank you for looking into these issues.
Under Stimsulsoft 2018, it would appear as such when editing. When the Field Editor was turned off, it looked perfect. Under Stimulsoft 2026.1.3, the editor looked right. However, when turning off the field editor, the rendering was lines was messed up. The bullet points are there, but underneath the text.
Steps to reproduce:
1. Open the Stimulsoft demo site: https://designer.stimulsoft.com/
2. Open the following attached sample report template. 3. From the top, click the "Preview" tab.
4. The View should change and show a rendered report.
5. From the toolbar, click the "Editor" button (next to the magnifying glass),
6. The editable fields should be highlighted in a pale yellow.
7. Click in the first editable field, and the backing HTML should appear.
8. Copy the following sample HTML, and paste into the template field.
Code: Select all
<ul>
<li>
Fruits
<ul>
<li>Apples</li>
<li>Bananas</li>
</ul>
</li>
<li>
Vegetables
<ul>
<li>Carrots</li>
<li>Broccoli</li>
</ul>
</li>
<li>Dairy</li>
</ul>10. The editable field we had clicked in, will change, and the bullet list will be rendered.
Thank you for looking into these issues.
-
Lech Kulikowski
- Posts: 7630
- Joined: Tue Mar 20, 2018 5:34 am
Re: Editable fields with HTML are getting reformatted and increasing font size
Hello,
Thank you for the additional information. We will check it and let you know about the result.
Thank you.
#19414
Thank you for the additional information. We will check it and let you know about the result.
Thank you.
#19414