Details
-
Bug
-
Resolution: Fixed
-
None
-
High
-
SpellCheck: Multi-whitespaces are now respected while applying spellcheck styles
-
Empty show more show less
Description
problem
The spellcheck markup in the editor is destroying / duplicating wrongly the internal tag markup. and is creating a JS error on mouse over.
JS error
See https://app.therootcause.io/#marc-mittag/translate5/errors/cd4a61ff4749b14006cb8ad243a527efd369e899
Uncaught TypeError: Cannot read properties of null (reading 'getAttribute')
at g.handleCollectedTooltip (ToolTip.js?_dc=5.7.8:119:44)
at g.onBeforeShow (ToolTip.js?_dc=5.7.8:66:25)
at F.fire (ext-all.js:22:146861)
at g.doFireEvent (ext-all.js:22:154371)
at g.doFireEvent (ext-all.js:22:520847)
at a.doFireEvent (ext-all.js:22:448251)
at g.fireEventArgs (ext-all.js:22:153235)
at g.fireEvent (ext-all.js:22:152964)
at g.show (ext-all.js:22:536887)
at g.show (ext-all.js:22:1607671)
content screenshot
markup screenshot
reproduction
For reproduction import file ./application/modules/editor/testcases/editorAPI/XlfImportTest/testfiles/workfiles/02-preserveWhitespace.xlf