0 votes
496 views

The “Compare Versions” tool has a “Save as HTML” feature. It can be accessed by clicking on the print icon, and then the “Save as HTML” button.

Confusingly, the HTML produced by this feature uses the contenteditable HTML attribute. The <body> HTML tag looks like this:

<body spellcheck="false" data-gramm="false" contenteditable="true">

This means that when you open the HTML file in a browser, you can click on the text and start typing, and the text will be edited in the browser. The changes are not saved however. If you refresh the page, all the changes are lost.

Could Paratext be fixed so that contenteditable is not included in the exported HTML? It makes the HTML file harder to deal with. For example, I can’t find the “take a screenshot” menu item in Firefox, because it disappears when the text is contenteditable.

Paratext by (495 points)
reshown | 496 views

3 Answers

0 votes
Best answer

This looks like a bug. Please use Help > Give feedback to report the problem to us.

by [Expert]
(16.7k points)

Done.

0 votes

Thanks for highlighting this hidden feature! I can see how this could be confusing for some users, and I was going to support your request. However, I also see that it could be useful to be able to export a whole book, and then in the browser delete certain chapters/portions for printing a subset, so I’m not so sure. I haven’t used Firefox’s screenshot feature, but isn’t that a bug/limitation that should be addressed in FF?

by (237 points)
0 votes

Yes, that limitation with the screenshot tool in Firefox is Firefox’s problem. I still would argue that contenteditable shouldn’t be used in this case.

I can see how users might want to delete certain passages before printing the document. That’s a good use-case I didn’t think of. However, I think this would be best done in a document editor, like Microsoft Word, or LibreOffice Writer. The user can copy and paste the passage he/she wants into the word processor and do any modifications there. If the user is encouraged to make modifications in the browser, I think they may expect changes to persist, which they don’t as soon you as you reload the HTML file.

by (495 points)

Related questions

0 votes
1 answer 237 views
The Print window of the Compare Texts Tool contains a Save as HTML button. In Paratext 7.6 this button works. But ... at the specified location. Any idea why this is not working?
anon818964 147 asked Feb 4, 2019
0 votes
2 answers 50 views
Sometimes when my team is working on edits, it would be helpful to see how we've edited out a borrowed word in the past, for ... are not key terms. that Is there a way to do this?
Lenice 182 asked 1 d ago
0 votes
4 answers 722 views
I use the tool Compare versions to view changes in the project's text. It is useful. However, I have noticed this ... a word in the Compare Versions tool? Thanks for the help!
bit 495 asked Dec 27, 2021
0 votes
8 answers 965 views
I want to produce PDFs of differences between two project versions, one for each book, but it only works once, then ... writes out the file. Thanks for looking into these things.
jeffh 1.4k asked Oct 14, 2019
0 votes
0 answers 175 views
To compare the versions of a project in which there were changes: Click in the window of the project to make it the ... how-do-i-compare-a-word-or-phrase-in-different-projects/19)
[Expert]
anon421222
735
asked Feb 23, 2017
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
I urge you, brothers and sisters, to watch out for those who cause divisions and put obstacles in your way that are contrary to the teaching you have learned. Keep away from them.
Romans 16:17
3,053 questions
6,013 answers
5,677 comments
2,032 users