Commit Graph

89 Commits

Author SHA1 Message Date
jos 6b1c75b2c2 Fixed #104: context menus are now positioned relative to the elements of the editor instead of an absolute position in the window 2015-12-31 13:31:03 +01:00
jos 5955111b4d Fixed focus on mouse over 2015-12-31 10:05:57 +01:00
jos 0b3fc6956f Disable dragging multiple items when in mode view or form 2015-12-31 09:44:59 +01:00
jos 1fe49e0c39 Fixed not being able to select a single node 2015-12-30 22:20:15 +01:00
jos e372441542 Fixed jumping of selected nodes when dragging the lower down nodes 2015-12-30 21:39:49 +01:00
jos e90248c0d0 Some fixes in keyboard shortcuts to move a multi selection 2015-12-30 20:51:03 +01:00
jos 96c4204b1c Implemented keyboard shortcuts to select multiple fields 2015-12-30 20:29:45 +01:00
jos fe5a413f23 Minor css fix. Some internal refactoring. Updated history. 2015-12-30 17:38:05 +01:00
jos 5f99f09c0f Fixed dragging multiple nodes horizontally 2015-12-30 17:26:39 +01:00
jos d934992cdf Removed some leftover code 2015-12-30 16:11:22 +01:00
jos 8975101925 Fixed quick-keys Shift+Alt+Arrows not registering actions in history 2015-12-30 16:10:29 +01:00
jos d01fe7caab Dragging multiple nodes mainly working (few bugs left) 2015-12-30 15:01:14 +01:00
jos f88e3d6f0c Minor fix in _findTopLevelNodes 2015-12-30 11:23:22 +01:00
jos ceeb5e3357 Store/restore multiselection 2015-12-30 11:09:27 +01:00
jos a839043fd5 Implemented removing/duplicating multiple nodes 2015-12-30 10:28:18 +01:00
jos 353815bc61 Changed history to supporting inserting/removing/moving multiple nodes 2015-12-30 09:32:17 +01:00
jos ee027b2758 Multiple nodes can be selected visually, and have a specific contextmenu 2015-12-29 21:58:57 +01:00
jos 7ec8ea879f css fix 2015-12-28 12:51:33 +01:00
jos 862aa388c7 Fixed #242: row stays highlighted when dragging outside editor 2015-12-28 12:41:12 +01:00
jos b9c8c6a769 Fixed broken highlighting while dragging 2015-12-27 22:18:34 +01:00
jos ffcae51cd3 Fixed another css issue 2015-12-27 21:46:53 +01:00
jos 301e33983c Renamed all CSS classes They now have prefixes `.jsoneditor-` to prevent name collisions with css frameworks like bootstrap. 2015-12-27 21:43:18 +01:00
jos db0345c668 Styling of values in tree mode now customizable. Added a custom styling example 2015-12-27 17:36:59 +01:00
jos 2afe73a43a New design tweaks 2015-12-27 16:15:26 +01:00
jos 5ccfb909e6 New design 2015-12-25 16:48:15 +01:00
jos 2b671f1f5a Minor css tweak 2015-12-25 15:13:33 +01:00
jos a4c5190135 Renamed `.editor` to `.aceEditor` 2015-12-25 15:07:00 +01:00
jos 363974fe4c Minor improvement of expand in modes view/form 2015-12-25 14:47:39 +01:00
jos 95c1c4b0dd Fixed #203: Objects and arrays in mode `form` and `view` are now expandable by clicking the field names too. 2015-12-25 14:38:14 +01:00
jos fb4ec75d56 Changed setValue to clear 2015-12-25 14:01:01 +01:00
jos de314b897e Renamed options `change`, `editable`, `error` to respectively `onChange`, `onEditable`, and `onError`. Implemented `onModeChange` and `getMode`. 2015-12-25 11:38:41 +01:00
jos 75994c8035 Fixed #38: clear search results after a new JSON object is set 2015-12-25 10:45:28 +01:00
jos cafd4daba3 Implemented a new option `escapeUnicode`, which will show the hexadecimal unicode instead of the character itself. (See #93 and #230). 2015-12-24 20:20:50 +01:00
jos 0b234f6375 Some more fixes related to unicode and escape chars 2015-12-24 17:22:01 +01:00
jos 9cdff41afa Fixed #230: unicode characters are not escaped 2015-12-22 15:31:24 +01:00
jos dc40abf143 Fixed #230, Fixed #227, and Fixed #93: html and unicode characters not escaped 2015-12-21 14:39:15 +01:00
jos 547438664f Cleaned up left over console log 2015-12-21 13:44:01 +01:00
jos 75dd0821db Fixed #149: Memory leak when switching mode from/to `code` mode, web worker of Ace editor wasn't cleaned up 2015-12-21 13:42:27 +01:00
jos 0b3b23e92e disabled `Ctrl+L` quick key to go to a line, instead use the default browser behavior of selecting the address bar. 2015-12-21 13:24:37 +01:00
jos 03c82ba38f Upgraded to brace v0.7.0 2015-12-21 13:15:59 +01:00
Isaiah Odhner b03e9cedc4 Use pseudo-elements for field/value placeholders 2015-12-12 11:41:05 -05:00
Isaiah Odhner 65fc58005c Use SVG for icons 2015-12-11 22:35:57 -05:00
jos 277bb185d5 Fixed #234: Remove dependency on a fork of the `jsonlint` project on github 2015-11-07 19:20:19 +01:00
Jason Marshall a41ff76c56 Add an 'onMode' callback option which is invoked after setMode finishes. 2015-09-17 15:05:11 -07:00
jos 36fa3c40df Fixed #161: Added `consolas` font to solve a text selection issue on chinese machines 2015-06-13 11:14:00 +02:00
jos 8416944f5c Fixed `editor.get()` manipulating the code when containing an error (see #191) 2015-05-14 21:18:14 +02:00
jos a7f41b8ef5 Implemented option `ace` to provide a custom version of the Ace editor. (see #173, #176) 2015-05-14 21:06:03 +02:00
Nuno Santos 8bab1158bf Support for custom themes. 2015-03-18 10:34:51 +01:00
jos 053f4f5113 Released version 4.1.3, fixes for browserify 2015-03-17 20:25:50 +01:00
jos 45b1941f95 Released version 4.1.0 2015-03-15 15:11:36 +01:00