Commit Graph

909 Commits

Author SHA1 Message Date
josdejong ffddf05cbe Fixed: forgot to remove a changed option used for testing. 2013-01-05 23:18:56 +01:00
josdejong b12d20e341 Fixed: In mode 'viewer' and 'form' are the read-only fields no longer highlighted on mouse hover. 2013-01-05 23:17:48 +01:00
josdejong d12d43b771 Implemented mode 'form', in which only values are editable and the fields are fixed. (see issue #24 and #26). 2013-01-05 23:08:24 +01:00
josdejong ddbd74c5f1 Updated downloads link 2013-01-05 22:24:08 +01:00
josdejong e780917f1d Removed downloads (moved to the website, http://jsoneditoronline.org/downloads) 2013-01-05 22:22:08 +01:00
josdejong 69f88e78e9 Added more examples. 2013-01-05 22:19:38 +01:00
josdejong ebcc837aa2 Added support for RequireJS and CommonJS. Wrapped the libary in a closure. 2013-01-05 22:19:10 +01:00
josdejong df367e62a7 Reorganized the namespacing, moved to jsoneditor.*. More consistent, and will make it easier to pack the library as a module. 2013-01-05 14:32:40 +01:00
josdejong 63c2f39bd4 Some more title updates 2013-01-03 21:33:55 +01:00
josdejong 5e07c7b6e8 Updated the titles of all action buttons. Added a few extra checks for correct construction of the editor. 2013-01-03 21:27:12 +01:00
josdejong 2ca451c795 Fixed hiding the contextmenu when clicking outside the contextmenu. 2013-01-01 22:25:34 +01:00
josdejong 364d82b347 Fixed not being able to horizontally drag an expanded object/array. 2013-01-01 22:20:50 +01:00
josdejong 14db2449e9 Fixed build script (did not include the icons in the packaged library) 2013-01-01 21:10:36 +01:00
josdejong 2c360c82c6 Updated the downloads link in the readme 2013-01-01 21:06:09 +01:00
josdejong 22c8037036 Added test file 2013-01-01 21:04:16 +01:00
josdejong 0abc75a002 Added a downloads folder containing the built & packaged JSONEditor library. (github downloads is deprecated now) 2013-01-01 20:55:36 +01:00
josdejong 2a64d5315e Splitted jsoneditor.js and jsoneditor.css into multiple source files. Rearranged the folders a little, and updated the build script. 2013-01-01 20:54:07 +01:00
josdejong c5e405542e Fixed initializing the indexes of an expanded array after duplicating the array. 2012-12-30 15:23:17 +01:00
josdejong fcc825ec30 Replaced the default json document with a more boring, generic example. 2012-12-30 15:04:14 +01:00
josdejong e21122aec2 Fixed a bug in vertically positioning of the context menu (when displayed above the anchor element) 2012-12-30 14:57:27 +01:00
josdejong 3df336437c Created util methods getMouseX and getMouseY 2012-12-30 14:34:31 +01:00
josdejong 352f22084d All utility methods moved to namespace JSONEditor.util 2012-12-30 13:43:00 +01:00
josdejong 4bfee372a5 Fixes and improvements in dragging of nodes. 2012-12-29 18:02:17 +01:00
josdejong 40c1963838 Fixes and improvements in dragging of nodes. 2012-12-29 15:38:06 +01:00
josdejong 945c8dee10 First few shortcut keys implemented 2012-12-29 13:05:29 +01:00
josdejong b087c9a5e0 Implemented auto scrolling up/down when dragging a node. 2012-12-26 16:29:49 +01:00
josdejong a03e6ce880 Cleaned up unused icons from the icon sprite 2012-12-26 14:46:18 +01:00
josdejong 0ea24f4946 Implemented horizontally dragging of items at the end of an array or object, to change the level. Fixed dragging a node in/out an empty object or array. 2012-12-26 14:16:30 +01:00
josdejong de916deb23 Added a submenu for sorting: ascending/descending 2012-12-24 16:34:30 +01:00
josdejong a194fbd2ae Implemented default choice for the insert and append actions in the context menu. 2012-12-24 16:14:25 +01:00
josdejong f231f3a0e2 Cleaned up the code a little 2012-12-23 22:16:34 +01:00
josdejong 11c575272d Fixed not cleaning up of event listeners in the ContextMenu 2012-12-23 21:57:20 +01:00
josdejong c142b38b1e Node stays highlighted when hovering its context menu. Highlighting/unhighlighting fixed while dragging. 2012-12-23 21:19:14 +01:00
josdejong 181ea65089 Implemented a contextmenu for the append node 2012-12-23 15:07:50 +01:00
josdejong 03c8802859 Implemented history (undo/redo) for the sort action. Updated version number. 2012-12-19 19:22:09 +01:00
josdejong fc3d1699a6 Floating context menu created for the action buttons (instead of having them fixed on the right side of each of the nodes) 2012-12-17 21:26:25 +01:00
josdejong 7710abd0b7 Floating context menu created for the action buttons (instead of having them fixed on the right side of each of the nodes) 2012-12-17 21:21:31 +01:00
josdejong d7833f2219 Released version 1.7.0 2012-12-08 12:14:09 +01:00
josdejong bab571d8e8 Released version 1.7.0 2012-12-08 10:18:37 +01:00
josdejong da3b37b1b9 Fixed issue #25: search bar not working if there is no window.editor object 2012-12-06 17:22:09 +01:00
josdejong 0f3644f5b8 Field name of root node can now be set via initial options too. (issue #20) 2012-12-06 09:33:19 +01:00
josdejong 76aca282a3 Implemented methods set(json, name), setName(name), and getName(), which allows for setting and getting the field name of the root node. (Issue #20) 2012-12-06 09:19:09 +01:00
josdejong 76e98ce95f Implemented read-only mode (new options.mode with values 'editor' and 'viewer'). See issue #24. 2012-12-06 09:02:00 +01:00
wjosdejong 98f4b0c2fb Urls to the github project updated (changed username from wjosdejong to josdejong) 2012-12-05 15:12:44 +01:00
wjosdejong 0dc71badbb Fixed issue #19: retrieving the contents of the editor inside the change callback resulted in an infinite loop. Execution of the callback is done inside a try/catch loop now, to isolate the editor from errors in the callback. 2012-11-26 22:08:57 +01:00
Jos de Jong 87e674c44e Added request header 'Accept: application/json' when retrieving files from url. 2012-11-21 14:09:21 +01:00
Jos de Jong da22203848 Screenshots updated 2012-11-04 15:40:06 +01:00
Jos de Jong 0f6020851e Screenshots updated 2012-11-04 15:26:05 +01:00
Jos de Jong 04e65fe59e Use query parameters instead of url hash 2012-11-03 15:20:15 +01:00
Jos de Jong 4826a7f840 Added a timeout to loadFile 2012-11-03 15:02:36 +01:00