vanilla-jsoneditor
Advanced tools
Changelog
0.22.0 (2024-03-01)
onChange
callback is no longer triggered on programmatic changes via a
two-way binded content
or via methods .update()
, .set()
, and .patch()
.content
(see #318) (0545e64)Changelog
0.21.2 (2024-01-10)
selection
in onRenderContextMenu
(#376) (2068823)codemirror
, jsonrepair
, sass
, svelte-awesome
, svelte-select
, and more (63ac195)standalone.d.ts
file to the vanilla-jsoneditor
package (4f8fa55)isColor
detection (see #378) (514f6ca)isColor
detection for long text values (See #378) (b1a04fc)jsonrepair
(ec23521)Changelog
0.21.0 (2023-12-20)
Content
is changed from { json: JSONValue} | { text: string }
into
{ json: unknown } | { text: string }
, and all other types having JSONValue
changed
to unknown
. The return type of JSONParser.stringify
changed from string
to
string | undefined
.Changelog
0.20.0 (2023-12-06)
vanilla-jsoneditor
directly in the browser, you now have to import { JSONEditor } from 'vanilla-jsoneditor/standalone.js'
instead of import { JSONEditor } from 'vanilla-jsoneditor'
. For projects with a build setup (React, Vue, Angular) it should be a drop-in replacement.themes/jse-theme-default.css
is now removed (replaced by an internal defaults.scss
). The provided dark theme still works as-is. The CSS variable --jse-modal-theme-color
has been renamed to --jse-modal-editor-theme-color
, and --jse-modal-theme-color-highlight
has been renamed to --jse-modal-editor-theme-color-highlight
.vanilla-jsoneditor
(#353) (9c1ad15)codemirror
, fontawesome
, svelte-awesome
, and dev dependencies (75596ae)