@@ -301,17 +301,21 @@ JSON Editor can integrate with several popular CSS frameworks out of the box.
301301
302302The currently supported themes are:
303303
304+ * barebones
304305* html (the default)
305306* bootstrap2
306307* bootstrap3
307308* foundation3
308309* foundation4
309310* foundation5
311+ * foundation6
310312* jqueryui
311313
312- The default theme is ` html ` , which doesn't use any special class names or styling .
314+ The default theme is ` html ` , which does not rely on an external framework .
313315This default can be changed by setting the ` JSONEditor.defaults.options.theme ` variable.
314316
317+ If you want to specify your own styles with CSS, you can use ` barebones ` , which includes almost no classes or inline styles.
318+
315319``` javascript
316320JSONEditor .defaults .options .theme = ' foundation5' ;
317321```
@@ -421,15 +425,16 @@ Simple text link
421425}
422426```
423427
424- Make link download when clicked (can also )
428+ Make link download when clicked
425429``` js+jinja
426430{
427431 "title": "Document filename",
428432 "type": "string",
429433 "links": [
430434 {
435+ "rel": "Download File",
431436 "href": "/documents/{{self}}",
432- // Can also specify a filename string here instead of `true`
437+ // Can also set `download` to a string as per the HTML5 spec
433438 "download": true
434439 }
435440 ]
@@ -598,6 +603,7 @@ __Ace Editor__ is a syntax highlighting source code editor. You can use it by se
598603* ejs
599604* erlang
600605* golang
606+ * groovy
601607* handlebars
602608* haskell
603609* haxe
@@ -747,7 +753,9 @@ Editors can accept options which alter the behavior in some way.
747753
748754* ` collapsed ` - If set to true, the editor will start collapsed (works for objects and arrays)
749755* ` disable_array_add ` - If set to true, the "add row" button will be hidden (works for arrays)
750- * ` disable_array_delete ` - If set to true, the "delete row" buttons will be hidden (works for arrays)
756+ * ` disable_array_delete ` - If set to true, all of the "delete" buttons will be hidden (works for arrays)
757+ * ` disable_array_delete_all_rows ` - If set to true, just the "delete all rows" button will be hidden (works for arrays)
758+ * ` disable_array_delete_last_row ` - If set to true, just the "delete last row" buttons will be hidden (works for arrays)
751759* ` disable_array_reorder ` - If set to true, the "move up/down" buttons will be hidden (works for arrays)
752760* ` disable_collapse ` - If set to true, the collapse button will be hidden (works for objects and arrays)
753761* ` disable_edit_json ` - If set to true, the Edit JSON button will be hidden (works for objects)
0 commit comments