Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
i installed the wysiwyg for my end users but i prefer to just view source and edit that way. sadly the code doesn't wrap properly when i view source. this worked fine in fckeditor.
screenshot attached. is there any way to fix this?
Comment | File | Size | Author |
---|---|---|---|
ckeditor-word-wrap.png | 164.83 KB | debonator |
Comments
Comment #1
mkesicki CreditAttribution: mkesicki commentedOn your screenshot it looks , that CKEditor 'moves' word to new line , because there is no place for editor (end of it's width). But at the end of lines there is no tags (like p div br), so there should be no new line in this place after save article. If everything looks fine after save of article , this should be no problem.
You can always try use "Use custom formatting options" & "Custom formatting options" options in "Cleanup and output" section of CKEditor's profile. These options sets how CKEditor will format source code.
Comment #2
debonator CreditAttribution: debonator commentedi fixed it using some css. here's how:
ta-da!
fixed. i wasn't sure where the css was for the editor, so i just dropped this bit of code into my main stylesheet. v
thanks for responding!
Comment #3
mkesicki CreditAttribution: mkesicki commented