0 votes

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 (443 points)
reshown

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.2k 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 (443 points)

Related questions

0 votes
1 answer
0 votes
8 answers
Paratext Oct 14, 2019 asked by jeffh (1.3k points)
0 votes
0 answers
0 votes
0 answers
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And over all these virtues put on love, which binds them all together in perfect unity.
Colossians 3:14
2,645 questions
5,394 answers
5,065 comments
1,437 users