We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Line break does not work from another editor's text


Hello, we are changing the text editor, and we are trying to use richtexteditor. However, when I show the saved texts from the old editor, the paragraph does not work. 

Example saved in the old editor:
<p>enter</p> <p>enter</p>


Richtexteditor shows:
enter enter

But I need it to show like this:
enter
enter

How to solve this?


3 Replies

IS Indrajith Srinivasan Syncfusion Team January 27, 2020 11:28 AM UTC

Hi Julio, 
 
Greetings from Syncfusion support 
 
We have validated your reported query and unable to reproduce from our end. We have loaded RichTextEditor values in possible ways initial load with ng-template and dynamically loading the RichTextEdior value using the value property. We have also prepared a sample based on your requirement.

Sample: https://stackblitz.com/edit/angular-nvf4zk-1gpway?file=app.component.ts

Could you please provide us the following details to provide solution at earliest
 
  • If possible replicate the issue in the above sample and return it to us.
  • Share a video demo of your issue sample.
 
Regards, 
Indrajith 



JF Julio Fabio Gurgel do Amaral Neto January 28, 2020 03:44 PM UTC

sorry, I found out that a class was preventing a line break. Thank you very much for your feedback.


IS Indrajith Srinivasan Syncfusion Team January 29, 2020 07:30 AM UTC

Hi Julio, 
 
Thanks for your update. Please let us know if you need any further assistance on this.

Regards,
 
Indrajith 


Loader.
Live Chat Icon For mobile
Up arrow icon