La herramienta «Comparar versiones» tiene una función «Guardar como HTML». Se puede acceder a ella haciendo clic en el icono de impresión y, a continuación, en el botón «Guardar como HTML».
Confusamente, el HTML generado por esta función utiliza el atributo HTML contenteditable. La etiqueta HTML <body> se ve así:
<body spellcheck="false" data-gramm="false" contenteditable="true">
Esto significa que, al abrir el archivo HTML en un navegador, se puede hacer clic en el texto y comenzar a escribir, y el texto se editará en el navegador. Sin embargo, los cambios no se guardan. Si se actualiza la página, se pierden todos los cambios.
¿Podría corregirse Paratext para que contenteditable no se incluya en el HTML exportado? Esto hace que el archivo HTML sea más difícil de manejar. Por ejemplo, no puedo encontrar la opción de menú «tomar una captura de pantalla» en Firefox, porque desaparece cuando el texto es 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.
Traducción automática desde English