Open Routhinator opened 4 years ago
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.
Still relevant.
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.
Still relevant.
📝 Provide a description of requested docs changes
What is the purpose and what should be changed?
Currently the docs do not seem to document a way to provide CSS to the
.ck-content p
element that works when trying to getwhite-space: pre-wrap
behaviour to work in the CKEditor5 main editor element.Based on the custom styling explaination for ckeditor5-angular https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/angular.html#styling I have added:
And this applies the css property to the element containing the text, however if effect is ignored and \n characters are all displayed on 1 line. I need to make ckeditor use the pre-wrap behaviour for backwards compatibility.