How to use the @json-editor/json-editor function in @json-editor/json-editor

To help you get started, we’ve selected a few @json-editor/json-editor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github karlcswanson / micboard / js / settings.js View on Github external
export function settingsView(configin) {
  console.log(configin)
  $('#micboard').hide();
  $('.settings').show();
  let editor_div = document.getElementById('editor_holder')
  editor_div.innerHTML = ''

  var editor = new JSONEditor(editor_div,{
        // Enable fetching schemas via ajax
        ajax: false,
        theme: 'bootstrap4',

        // The schema for the editor
        schema: {
          "title": " ",
          "type" : "object",
          // "format": "categories",
          "options" : {
            "disable_properties": true,
            "disable_edit_json" : true,
            "disable_collapse": true
          },
          "properties" : {
            "port" : {

@json-editor/json-editor

JSON Schema based editor

MIT
Latest version published 7 days ago

Package Health Score

92 / 100
Full package analysis

Popular @json-editor/json-editor functions