Closed Kodzhabashev closed 9 months ago
In GitLab by @Kodzhabashev on Jan 12, 2024, 10:50
Yep, very annoying bug that i introduced recently. I will fix it soon. Thanks for reporting.
In GitLab by @Kodzhabashev on Jan 12, 2024, 10:50
Actually this happens in all textareas fields.
In GitLab by @Kodzhabashev on Jan 12, 2024, 17:32
mentioned in commit 771c98b3878454ccd04bafe441de05f44e534d77
In GitLab by @Kodzhabashev on Jan 12, 2024, 17:36
I debug this stupid bug 2-3 hours, excluded all libraries, everything.
Here is the solution
For better formatting I added some spaces between the textarea
tags. Bad choice :cry:
In GitLab by @Kodzhabashev on Jan 12, 2024, 17:36
closed
In GitLab by @nicolas.scheurer on Jan 12, 2024, 17:45
10 year old SO thread to the rescue :smile:
In GitLab by @nicolas.scheurer on Jan 12, 2024, 10:48
As you can see in the image (greyed out), the markdown fields add spaces to the first line of the text area. This happens when the section is saved. This happens for example in the labels for the surveyjs and qualtrics plugins, but also in the markdown elements from the cms.
The whitespace can even be stacked, as you can see we have a lot of whitespace here on the image.
Usually you can save the content once and it will render nicely, but when you reopen the text area you will notice the indentation.
Then you can no longer simply save it, because it then takes on a monospace style.