ion6: 'https://cdnjs.cloudflare.com/ajax/libs/foundation/6.2.4/foundation.min.css',
        jqueryui: 'https://code.jquery.com/ui/1.10.3/themes/south-street/jquery-ui.css',
        materialize: 'https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css',
        spectre: 'https://unpkg.com/spectre.css/dist/spectre.min.css'
      };
      const link = document.querySelector('#theme_stylesheet').href = mapping[theme];
      console.log(link)
      initJsoneditor(theme, iconlib)
    });
