A ferramenta “Comparar Versões” tem um recurso “Salvar como HTML”. Ele pode ser acessado clicando no ícone de impressão e, em seguida, no botão “Salvar como HTML”.
De forma confusa, o HTML gerado por esse recurso usa o atributo HTML contenteditable. A tag HTML <body> parece com esta:
<body spellcheck="false" data-gramm="false" contenteditable="true">
Isso significa que, ao abrir o arquivo HTML em um navegador, você pode clicar no texto e começar a digitar, e o texto será editado no navegador. No entanto, as alterações não são salvas. Se você atualizar a página, todas as alterações serão perdidas.
O Paratext poderia ser corrigido para que contenteditable não seja incluído no HTML exportado? Isso torna o arquivo HTML mais difícil de lidar. Por exemplo, não consigo encontrar o item de menu “tirar uma captura de tela” no Firefox, porque ele desaparece quando o texto é contenteditable.
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.
Tradução automática de English