Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 681 Bytes

File metadata and controls

46 lines (33 loc) · 681 Bytes

Upgrading

From 1.x to 2.x

Option description

In order to display HTML in descriptions, include "purify" ahead of "jsoneditor". With CDN eg:

<script src="proxy.php?url=https%3A%2F%2Fcdn.jsdelivr.net%2Fnpm%2Fdompurify%40latest%2Fdist%2Fpurify.min.js"></script>
<script src="proxy.php?url=https%3A%2F%2Fcdn.jsdelivr.net%2Fnpm%2F%40json-editor%2Fjson-editor%40latest%2Fdist%2Fjsoneditor.min.js"></script>

Format select

With usage of selectize plugin, same applies for other plugins

  "format": "select"

needs to be changed to

  "format": "selectize"

and

  "options": {
    "selectize_options": {
      ...
    } 
  }

to

  "options": {
    "selectize": {
      ...
    } 
  }