Project

General

Profile

Actions

Bug #94516

open

<textarea> is losing empty lines on the beginning

Added by Albrecht Köhnlein over 3 years ago. Updated 5 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2021-07-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I had a case where I had to enter some text starting with multiple empty lines into FormEngine's textarea element.

When saving and re-opening the first empty line was missing in the editor. I investigated a little bit and found out, that the empty lines still exist when the data is saved to database and still exist in the rendered HTML when generating the form. But there seems to be any JavaScript which removes the first line.

This problem can be reproduced, if you enter some empty lines + a line of text in field tt_content.rowDescription or any other textarea.

When saving and reopening the form, you will see, there is one less empty line in the editor.


Files

Actions

Also available in: Atom PDF