warning - Message
Important notice: This wiki is scheduled to be disabled in 2021. We are in the process of migrating content to the official documentation on docs.typo3.org. If you find information here that is missing from the official documentation, please feel free to get in contact with us on TYPO3 Slack (Channel: #t3docs-sig-wiki-migration).
Jump to navigation Jump to search
In edit mode, when the Enter key is pressed:
Internet Explorer inserts: <p> </p> Mozilla/Firefox inserts: <br />
When shift-Enter is pressed:
both Internet Explorer and Mozilla/Firefox insert: <br />
htmlArea is trying to compensate for these different behaviors:
htmlArea intercepts the Mozilla/Firefox Enter key event htmlArea wraps the br tag in a pair of p tags: <p><br /></p> on submit or on toggle to textmode, htmlArea strips the br tag.