Bug #71769
closedNewline appended to RTE fields after save
0%
Description
Whenever you save a record with a RTE field, a newline character is appended to that field. So when you save a record 10 times, 10 newline characters are append to all RTE fields of that record.
Updated by Riccardo De Contardi almost 9 years ago
- Status changed from New to Needs Feedback
Hi, can you tell us more about how to reproduce this?
- What browser are you using?
- Are you using CSS Styled Content or Fluid Styled Content?
- Are you using the default RTE configuration or a custom one?
I tried with both 7.6.0 and the latest master from Git and I can't reproduce it. Tested with Chrome, Firefox and Safari on MAC
Updated by Riccardo De Contardi almost 9 years ago
- Target version changed from 7.6.1 to Candidate for patchlevel
Updated by Artus Kolanowski almost 9 years ago
It happens only when you just use: 'defaultExtras' => 'richtext[]'
for the RTE field, so my description was incomplete. When you use 'defaultExtras' => richtext:rte_transform[mode=ts_css]
it's all fine.
Updated by Christoph Lehmann almost 9 years ago
As of https://docs.typo3.org/typo3cms/CoreApiReference/Rte/Transformations/Overview/Index.html#meta-transformations mode=ts_css is the recommended configuration
Updated by Artus Kolanowski almost 9 years ago
Christoph Lehmann wrote:
As of https://docs.typo3.org/typo3cms/CoreApiReference/Rte/Transformations/Overview/Index.html#meta-transformations mode=ts_css is the recommended configuration
This is correct but why would no RTE transformation mode change the editors input in the described way? Seems to be a bug.
Updated by Artus Kolanowski almost 9 years ago
Riccardo De Contardi wrote:
Hi, can you tell us more about how to reproduce this?
- What browser are you using?
- Are you using CSS Styled Content or Fluid Styled Content?
- Are you using the default RTE configuration or a custom one?I tried with both 7.6.0 and the latest master from Git and I can't reproduce it. Tested with Chrome, Firefox and Safari on MAC
The appended newlines are stored in the database. I've tested this with no transform mode configured in the TCA ( 'defaultExtras' => 'richtext[]'
) on a fresh install of the current develop. The used browser for the backend doesn't seem to make any difference.
Updated by Riccardo De Contardi almost 9 years ago
- Status changed from Needs Feedback to New
Updated by Jo Hasenau over 8 years ago
- Status changed from New to Needs Feedback
Seems that the transformation of form values into DB fields is still done, while it is ignored when transforming from DB to form. Does this sound plausible?
Updated by Jo Hasenau over 8 years ago
- Category set to RTE (rtehtmlarea + ckeditor)
- Status changed from Needs Feedback to Accepted
- Assignee set to Jo Hasenau
Updated by Bernhard Eckl almost 8 years ago
Same here. And when I use 'defaultExtras' => richtext:rte_transform[mode=ts_css] it does not insert new lines, but instead it inserts:
<p> </p>
Maybe it has todo with: https://forge.typo3.org/issues/45527.
Updated by Riccardo De Contardi about 7 years ago
- Related to Bug #81893: ck_editor: Linefeeds added after each save added
Updated by Riccardo De Contardi about 7 years ago
- Related to deleted (Bug #81893: ck_editor: Linefeeds added after each save)
Updated by Mathias Schreiber about 7 years ago
- Status changed from Accepted to Closed
HTMLArea is no longer supported by TYPO3.
You can open up new issues here https://github.com/FriendsOfTYPO3/rtehtmlarea.
Cheers
Mathias