As you know from the other issues I've posted, I've been testing out this module.

One problem I find is that if I cut and paste from another place (like an OpenOffice document or an email or whatever) I get unwanted hard breaks in the pasted text. The text seems to get cut every 80 characters or something like that, because the window width doesn't affect it.

I don't think it is the whizzywig javascript that is doing it, because I can paste long lines into their demo page and those lines don't get cut up.

However, if I disable javascript and paste the stuff in, the whizzywig does not work and it behaves like a plain text field. Then I do not get these strange hard breaks in the text. After that if I save the node and then enable javascript and go to edit, I can add formatting and everything works great, with the caution that the paragraph breaks become invisible. (I think this is because they are not HTML breaks but are created by the filter.)

But I don't think my users will find this approach acceptable.

What is causing the lines to break? Can it be fixed?

Comments

vm’s picture

what if you shut off the line break filter in administer -> input formats -> edit for the input format you are using ?

leeksoup’s picture

That was a great idea, but erm ... well, that makes the opposite problem -- it eliminates all the breaks in my input text. i.e. I have real paragraphs in there that I can see in the editor window, but they disappear from the node view if I disable the line break converter.

It also creates problems for my existing nodes, as you might imagine.

leeksoup’s picture

Status: Active » Closed (fixed)

Oops, I was wrong on this one.

I did some more checking into it and it looks like the paste function (ctl-V) pastes the text with line breaks within the paragraph when it is pasting as rich text, but does not insert the extra breaks when pasted as plain text. So it is not a Whizzywig issue at all and I am closing this.