Default to tree mode in custom styling example

This commit is contained in:
Jos de Jong 2020-09-09 09:05:04 +02:00
parent 70c9b0b454
commit 2cbac6fd5c
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
// create the editor // create the editor
const container = document.getElementById('jsoneditor') const container = document.getElementById('jsoneditor')
const options = { const options = {
modes: ['text', 'tree'] modes: ['tree', 'text']
} }
const json = { const json = {
'array': [1, 2, 3], 'array': [1, 2, 3],