-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output formatted HTML code #8668
Comments
Note that you can use any HTML formatting library like |
thanks |
I will leave this feature request as open, as someone might be interested in seeing an official solution in CKEditor 5. |
+1 Some kind of pretty printed output would be great... I store the data in in backend in Git Database... would be handy to have the diffs making some sense... |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
I'd love this feature too. Based on CKEditor 5's "Source" plugin, it appears as though CKEditor 5 already has a way to pretty-print source code, so I would not expect a 3rd party library to be necessary to achieve clean output. |
I found a related issue with the way HTML is exported and filed an issue at #15293. But it's possible that fixing that issue might also help here, if CKEditor were to provide a better HTML exporter than the current |
thanks for CkEditor, grate product.
getData() always return minimized html value。such as:
but how can i get unminimized code,such as:
The text was updated successfully, but these errors were encountered: