      tools[mode].button.style.backgroundColor = "white";
            tools[mode].button.style.filter = "";
            tools[mode].editor.enable();
         }

         function dissableEditors() {
            for (const tool of Object.values(tools)) {
               tool.button.style.backgroundColor = "gray";
               tool.button.style.filter = "grayscale(100%)";
               tool.editor.disable();
            }
         }
      </script>
   </body>
</html>