This article provides troubleshooting scenarios for the following issues that might occur with a Multi-Line Text field in the Experience Editor:
Description
If a text is added to an empty Multi-Line Text field in the Experience Editor, lines might be wrapped in <p> tags after saving the changes.
Solution
Be aware that the hotfix was built for the specific Sitecore XP version and must not be installed on other Sitecore XP versions or in combination with other hotfixes. In case any other hotfixes have already been installed on a certain Sitecore XP instance, send a request for a compatibility check to Sitecore Support.
Note that the ZIP file contents must be extracted to locate installation instructions and related files inside. The hotfix must be installed on a CM instance and then synced with other instances using standard development practices.
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/"> <sitecore> <settings> <setting name="HtmlEditor.LineBreak" set:value="br" /> </settings> </sitecore> </configuration>
Description
A Multi-Line Text field might be rendered in one line when using the following Sitecore MVC helper:
@Html.Sitecore().Field("FieldName")
The issue does not affect Sitecore XP 9.0.0 and later.
Solution
To resolve the issue, download and install the patch compatible with the affected product version found on this page: https://github.com/SitecoreSupport/Sitecore.Support.95002/releases.
Description
Two line breaks (<br> tags) might be added instead of one when pressing the Enter key in a Multi-Line Text field while editing it in the Experience Editor.
The issue does not affect Sitecore XP 9.0.0 and later.
Solution
To resolve the issue, download and install the patch compatible with the affected product version found on this page: https://github.com/SitecoreSupport/Sitecore.Support.103584/releases.
Description
If a Multi-Line Text field has several lines, some of them might be trimmed when saving changes in the Experience Editor.
The issue does not affect Sitecore XP 9.0.0 and later.
Solution
To resolve the issue, download and install the patch compatible with the affected product version found on this page: https://github.com/SitecoreSupport/Sitecore.Support.101295/releases.
Description
A Multi-Line Text field might be saved without line breaks after it has been edited using the Field Editor dialog box in the Experience Editor.
The issue does not affect Sitecore XP 8.2.1 and later.
Solution
To resolve the issue, download and install the patch compatible with the affected product version found on this page: https://github.com/SitecoreSupport/Sitecore.Support.93260/releases.
Description
If more than two lines are added to a Multi-Line Text field in the Experience Editor, only two lines might be saved.
The issue does not affect Sitecore XP 8.2.0 and later.
Solution
To resolve the issue, download and install the patch compatible with the affected product version found on this page: https://github.com/SitecoreSupport/Sitecore.Support.106803/releases.
Description
Each opening of the Rich Text Editor in the Experience Editor might cause the first <p> tag removal after accepting the changes.
For example:
Record1 <p>Record2</p> <p>Record3</p>
instead of
<p>Record1</p> <p>Record2</p> <p>Record3</p>
The issue does not affect Sitecore XP 10.0.0 and later.
Solution
To resolve the issue, consider one of the following options: