If true, remove all collapse buttons from objects and arrays. If true, remove all "move up" and "move down" buttons from arrays. If true, remove all "delete row" buttons from arrays. If true, remove all "add row" buttons from arrays. If true, JSON Editor will load external URLs in $ref via ajax. Here are all the available options: Option Options can be set globally or on a per-instance basis during instantiation. Var editor = new JSONEditor(element, options) Initialize var element = document.getElementById('editor_holder') For more under-the-hood documentation, check the wiki. The rest of this README contains detailed documentation about every aspect of JSON Editor. If you learn best by example, check these out: math.js for more accurate floating point math (multipleOf, divisibleBy, etc.).Selectize for nicer Select & Array boxes.EpicEditor for editing of Markdown content.SCEditor for WYSIWYG editing of HTML or BBCode content.A compatible icon library (bootstrap 2/3 glyphicons, foundation icons 2/3, jqueryui, or font awesome 3/4).A compatible CSS framework for styling (bootstrap 2/3, foundation 3/4/5, or jqueryui).A compatible JS template engine (Mustache, Underscore, Hogan, Handlebars, Swig, Markup, or EJS).The following are not required, but can improve the style and usability of JSON Editor when present. It only needs a modern browser (tested in Chrome and Firefox). It has full support for JSON Schema version 3 and 4 and can integrate with several popular CSS frameworks (bootstrap, foundation, and jQueryUI).Ĭheck out an interactive demo (demo.html): ĭownload the production version (22K when gzipped) or the development version. JSON Editor takes a JSON Schema and uses it to generate an HTML form.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |