problem with the ckeditor text editor no end of line / EOL

Hello
I have a problem with the ckeditor text editor. When I import the texts in a form containing ckeditor through a query to the server, the end of line / EOL characters are not inserted and consequently are not saved after I have modified the text.
The data_products.php file that makes the query to the server restores a JSON file with the character “\ n” correctly inserted in the text but when it appears, it disappears from the editor. Please can you help me. thank you

code form:
…{ rows:[ { view: “label”, label: “Full description”, height:30},
{ id:‘editor’, name:“descrizione”, view:“ckeditor”, value:"", editor:{language: ‘en’}, minHeight: 220}, ]},…

json correct:
… ,“descrizione”:"Cassetto scaldavivande
Frontale alto 29 cm in acciaio inox Professional
Capacit\u00e0 60 l Apertura con maniglia e chiusura soft closing
Estrazione totale

Prestazioni
Mantenimento in temperatura cibi cotti
Scongelamento
Lievitazione impasti
Cottura delicata a 70\u00b0CPre-riscaldamento stoviglie
Pre-riscal

inside ckeditor:
Cassetto scaldavivande Frontale alto 29 cm in acciaio inox Professional Capacità 60 l Apertura con maniglia e chiusura soft closing Estrazione totale Prestazioni Mantenimento in temperatura cibi cotti Scongelamento Lievitazione impasti Cottura delicata a 70°CPre-riscaldamento stoviglie Pre-riscaldamento tazzine caffè CARATTERISTICHE Superficie ripiano interno in materiale anti-scivolo Illuminazione interna Ventilato Termostato

from data_products.php

$data3 = new JSONDataConnector($conn, $dbtype);
$data3->render_table(“db_catalogo”,“id”);

CKEditor expects HTML content, where line breaks have to be implemented as <br>.
The best is to tune the data accordingly, but as an option, you can replace the \ with the proper tag: https://webix.com/snippet/86df3732

Hi! thanks for the answer but maybe I’m not well explained. I installed CKEditor in a form linked to a list: $$ (‘formView’). bind ($$ (‘list1’));
every time I choose an element of the list, the content appears in the form: name, code, description etc. the data come from a database through a php script in JSON format. when they appear in CKEditor there are no styles set: bold, wrap, italic etc and if I can set them and save the form are not recorded in the database. only the new words added are registered, but not the applied text styles. I hope I’ve been a little clearer.
I need to record the styles in the database as well, not just the new words. how can I do??
thank you for your availability

through a php script in JSON format

Are you using your own PHP backed or something like PHP connectors?
The client side code doesn’t filter out HTML and must send the styled HTML back to the server side. Can you please check the browser’s console, to be sure that error occurs on a client side ( you can check the exact data sent to the server side in the networks tab of dev. tools )