0 votes
444 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 | 444 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 202 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
4 answers 573 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 729 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 163 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
0 votes
0 answers 178 views
Wasn't sure where to report this bug fix for the Show Project Plan Html script, found in the project Custom Tools > ... be causing the problem. Probably best to change it as well
jeffh 1.4k asked May 8, 2020
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
But if we walk in the light, as he is in the light, we have fellowship with one another, and the blood of Jesus, his Son, purifies us from all sin.
1 John 1:7
3,046 questions
6,006 answers
5,671 comments
2,027 users