Floating context menu created for the action buttons (instead of having them fixed on the right side of each of the nodes)
Floating context menu created for the action buttons (instead of having them fixed on the right side of each of the nodes)
Implemented history (undo/redo) for the sort action. Updated version number.
Implemented a contextmenu for the append node
Node stays highlighted when hovering its context menu. Highlighting/unhighlighting fixed while dragging.
Fixed not cleaning up of event listeners in the ContextMenu
Cleaned up the code a little
Implemented default choice for the insert and append actions in the context menu.
Added a submenu for sorting: ascending/descending
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.
Cleaned up unused icons from the icon sprite
Implemented auto scrolling up/down when dragging a node.
First few shortcut keys implemented
Fixes and improvements in dragging of nodes.
Fixes and improvements in dragging of nodes.
All utility methods moved to namespace JSONEditor.util
Created util methods getMouseX and getMouseY
Fixed a bug in vertically positioning of the context menu (when displayed above the anchor element)
Replaced the default json document with a more boring, generic example.
Fixed initializing the indexes of an expanded array after duplicating the array.