svelte-jsoneditor
Advanced tools
Changelog
0.23.0 (2024-03-13)
onRenderContextMenu
callback now also triggers when the editor is readOnly
,
so you now have to handle that case in the callback.onRenderMenu
and onRenderContextMenu
with a prop readOnly
(#411) (4df5548)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
.