Commit Graph

332 Commits

Author SHA1 Message Date
josdejong cfd1d70126 Updated the compact icon such that the total length of the lines match that of the format icon (see #34). 2013-02-07 17:11:47 +01:00
josdejong 9e2dbab3c1 Caret position is now neatly restored on undo/redo (except on IE8) 2013-02-07 13:55:33 +01:00
Jos de Jong 4f86925e44 Merge pull request #33 from vbortone/hotfix/1.7.0.1
Correct options.history assignment when options.enabledHistory used.
2013-01-31 00:23:32 -08:00
Vincent Bortone 40165d536d Correct options.history assignment when options.enabledHistory used. 2013-01-31 01:06:35 -05:00
josdejong a56fd1adcf Cleaned up some more css 2013-01-24 22:34:40 +01:00
josdejong f98b48f63e Cleaned up and restructured all css and class names 2013-01-24 22:24:37 +01:00
josdejong a5a29b3f57 Fixed highlighting of active search result when having focus 2013-01-24 20:47:57 +01:00
josdejong ab629e172f Added description of shortcut keys to tooltips. 2013-01-24 18:17:29 +01:00
josdejong 42345582fd Do not initialize fields when changing an array into an object. 2013-01-21 22:07:58 +01:00
josdejong 5b9ca656a4 Set focus to anchor only when closing via a shortcut key. 2013-01-21 22:07:32 +01:00
josdejong 465fa11689 Implemented shortcut keys Shift+Alt+Arrows to move a node (instead of by dragging with a mouse). 2013-01-20 20:48:37 +01:00
josdejong d514936c43 Implemented shortcut keys Alt+Home and Alt+End 2013-01-20 19:47:42 +01:00
josdejong 59eacb0244 Updated css of contextmenu to highlight elements having :focus. 2013-01-20 15:09:53 +01:00
josdejong f2808083ef Implemented arrow and tab shortcut keys in contextmenu 2013-01-20 14:43:00 +01:00
josdejong 1d686475b3 When moving up/down with arrows, element name having focus is remembered. Also implemented shortcutkeys for AppendNode. 2013-01-13 21:56:46 +01:00
josdejong e6cc99c983 Implemented shortcut keys Alt+Arrows to navigate between fields and values. 2013-01-13 21:39:06 +01:00
Jos de Jong 1afd026a88 Merge pull request #31 from piffie/patch-1
fixed wrong url path to icons sprite
2013-01-10 13:32:25 -08:00
piffie 9616c1d4cb fixed wrong url path to icons sprite
one url() call to the sprite img was wrong. fixed it like the other paths.
2013-01-10 15:36:14 +01:00
josdejong f284164c29 Changed styling of empty fields/values. 2013-01-09 22:53:27 +01:00
josdejong 44d9b485f6 Created a placeholder for empty input fields/values. Changed the initial value of a new node to empty strings. (see issue #30) 2013-01-09 22:16:42 +01:00
josdejong 01a593ffed - Implemented restoring focus on undo/redo.
- Implemented more shortcutkeys.
- Implemented selection of all text on tab and after insert/append.
2013-01-06 21:12:37 +01:00
josdejong a27423a2f2 Minor changes in the examples. 2013-01-06 12:58:09 +01:00
josdejong d177026d38 Moved method getNodeFromTarget to the Node constuctor. 2013-01-06 12:52:05 +01:00
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