Details
-
Bug
-
Resolution: Fixed
-
None
-
High
-
Empty show more show less
Description
problem
When using search and replace in the editor, and trying to jump from search to replace field with key "tab" inserts either a "tab" into the editor (if opened a segment) or produces a JS error:
Uncaught TypeError: Cannot read property 'get' of null
at constructor.getData (HtmlEditor.js?_dc=1561370555444:477)
at HTMLDivElement.<anonymous> (HtmlEditor.js?_dc=1561370555444:411)
at Object.each (ext-all-debug.js:3111)
at constructor.replaceTagToImage (HtmlEditor.js?_dc=1561370555444:366)
at constructor.markup (HtmlEditor.js?_dc=1561370555444:352)
at constructor.insertMarkup (HtmlEditor.js?_dc=1561370555444:268)
at constructor.insertWhitespaceInEditor (HtmlEditor.js?_dc=1561370555444:590)
at constructor.insertWhitespace (Editor.js?_dc=1561370551642:1239)
at constructor.insertWhitespaceTab (Editor.js?_dc=1561370551642:1224)
at constructor.confObj.fn (Editor.js?_dc=1561370551642:415)
solution
The tab key should only be processed in context of the editor, not of the whole application.