Explorar el Código

HUE-7296 [frontend] Don't mark invisible space in the Ace highlight binding

Johan Ahlen hace 8 años
padre
commit
e6a00b3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

+ 1 - 0
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -5831,6 +5831,7 @@
           });
 
           element.innerHTML = '<div class="ace_editor ace-hue"><div class="ace_layer" style="position: static;">' + res.join('') + '</div></div>';
+          $(element).find('.ace_invisible_space').remove();
         });
       }