OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Disappearing linebreaks

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Disappearing linebreaks

Postby jmir » Mon Mar 05, 2007 2:25 pm

I am now getting emails from reviewers who complain that - when they copy & paste the review form into the text boxes, all linebreaks disappear
(as OJS2 STILL doesn't allow to set up a proper review form I created a template, asking people to copy & paste this into the textboxes).

It takes significant manual editing to insert the linebreaks again. Advice?
jmir
 
Posts: 74
Joined: Mon Feb 26, 2007 12:16 am

Postby asmecher » Mon Mar 05, 2007 6:40 pm

Hi Gunther,

Review forms are a feature we've received a significant number of requests for, and we're certainly planning to include it in a future release.

Are the line breaks disappearing as soon as the review is pasted into the comments field, i.e. can the reviewers see that there is a problem, or is the problem only appearing once the review has been submitted and you're viewing it as Editor?

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8673
Joined: Wed Aug 10, 2005 12:56 pm

Postby jmir » Wed Mar 07, 2007 9:49 am

The latter. When I paste the text into the textbox, the linebreaks are still there, but they are not displayed properly.


asmecher wrote:Hi Gunther,

Review forms are a feature we've received a significant number of requests for, and we're certainly planning to include it in a future release.

Are the line breaks disappearing as soon as the review is pasted into the comments field, i.e. can the reviewers see that there is a problem, or is the problem only appearing once the review has been submitted and you're viewing it as Editor?

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
jmir
 
Posts: 74
Joined: Mon Feb 26, 2007 12:16 am

Postby jmir » Wed Mar 07, 2007 9:50 am

I meant: they are not displayed properly once they are saved.

jmir wrote:The latter. When I paste the text into the textbox, the linebreaks are still there, but they are not displayed properly.


asmecher wrote:Hi Gunther,

Review forms are a feature we've received a significant number of requests for, and we're certainly planning to include it in a future release.

Are the line breaks disappearing as soon as the review is pasted into the comments field, i.e. can the reviewers see that there is a problem, or is the problem only appearing once the review has been submitted and you're viewing it as Editor?

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
jmir
 
Posts: 74
Joined: Mon Feb 26, 2007 12:16 am

Postby asmecher » Wed Mar 07, 2007 3:35 pm

Hi Gunther,

Could you verify if entering the comments manually into the reviewer's comments box suffers the same problem? If the problem is the fact that users are coping and pasting into the review box, it may be a web browser bug.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8673
Joined: Wed Aug 10, 2005 12:56 pm

Postby jmir » Wed Mar 21, 2007 2:58 pm

I haven't figured this out yet completely. I don't think the issue exists if people enter something manually. However, as OJS2.x does not support review forms (grrrrr!) people copy & paste our review form into a Word document and from there back to the reviewer textbox. I guess it is the word span-tags etc which then completely messes up the layout, leaving the poor editor with the task of cleaning up the reviewer comments (grrrrrrrrrrrr!).
Would turing off the TinyMCE help?

asmecher wrote:Hi Gunther,

Could you verify if entering the comments manually into the reviewer's comments box suffers the same problem? If the problem is the fact that users are coping and pasting into the review box, it may be a web browser bug.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
jmir
 
Posts: 74
Joined: Mon Feb 26, 2007 12:16 am

Postby jmir » Fri Mar 30, 2007 11:15 am

the problem is still not solved. whenever somebody copied & pasted something from a word document into that textbox (e.g. our review form), all linebreaks disappear. I had to switch off the tinyMCE plugin.

asmecher wrote:Hi Gunther,

Could you verify if entering the comments manually into the reviewer's comments box suffers the same problem? If the problem is the fact that users are coping and pasting into the review box, it may be a web browser bug.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
jmir
 
Posts: 74
Joined: Mon Feb 26, 2007 12:16 am

Postby asmecher » Fri Mar 30, 2007 11:36 am

Hi Gunther,

It sounds like the problem is that the HTML generated in the transfer between Word and TinyMCE is somehow broken. If you can post a sample of that HTML here, I can run it through a few tests to see what stage of the process is causing the problem.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8673
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest