Hi Mariusz,
Thank you for contacting Syncfusion Support.
Currently, document editor doesn’t provide any API to add paragraphs and new lines. As a workaround you can achieve. Please find the details below.
To insert paragraph with some text, you can use insertText API of editor module.
Sample code snippet
this.$refs.documenteditor.ej2Instances.editor.insertText(“Hello world”) |
Can you please share the use case scenario in detail? We will provide possible solution accordingly.
Regards,
Harini C