0

I'm using Typo3 9.5.14 and CkEditor to add and edit news articles, i see in frontend that it is closing and starting a new paragraph at every
in the bodytext area here an example :

<p>
Text somthing <br />
Text somthing 2 <br />
Text somthing 3 <br />
Text somthing 4 <br />
</p>

After save, i see in frontend is converted to this;

<p>Text somthing </p>
<p>Text somthing 2 </p>
<p>Text somthing 3 </p>
<p>Text somthing 4 </p>

But in source it is still in the original code even after save. Is it really because CKEditor and how can i prevent this ?

This is causing the problem of adding new spaces between each line of text.

Mohamed Masmoudi
  • 547
  • 1
  • 9
  • 23

2 Answers2

1

Possibly switch to direct source editing?

enter image description here

The other reason could be you need to allow
tags in the editor configuration. Like this :

TYPO3 9.5.4 CKEditor RTE deletes style attributes

Hope it helps you

EDIT:

Does this setting still work in TYPO3 9? maybe that is it:

https://docs.typo3.org/m/typo3/reference-coreapi/7.6/en-us/Rte/Transformations/Tsconfig/Index.html#dontconvbrtoparagraph

UnpassableWizard
  • 1,237
  • 11
  • 20
0

I come back with the solution i find, i have uninstalled the obsolete extension rtehtmlarea, and this solved the problem.

Mohamed Masmoudi
  • 547
  • 1
  • 9
  • 23