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?

CommentFileSizeAuthor
ckeditor-word-wrap.png164.83 KBdebonator
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

On 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.

debonator’s picture

i fixed it using some css. here's how:


.cke_source {
	white-space: normal !important;
}

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!

mkesicki’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)