1 year ago

#371680

test-img

jxls_mw

CKEditor5: HTML output formatting

CKEditor5 saves the HTML as a single line. How can I achieve multi-line pretty-print HTML output? I can't find it for v5 (only for v4: Writer rules e.g. breakAfterClose: true).

I use DecoupledEditor. I use an submit click listener which posts the editor.getData() to the server.

ckeditor5

0 Answers

Your Answer

Accepted video resources