vanilla-jsoneditor
Advanced tools
Changelog
1.0.0 (2024-09-24)
undefined
instead of null
. This involves
properties selection
, onChange
(properties contentErrors and
patchResult),
onRenderContextMenu(property
selection),
onSelect, and methods
validate, and
select`.expand
function is changed from expand(callback)
to
expand(path, callback)
, and can't be used anymore for collapsing nodes. Instead,
se the collapse(path)
method for that.edit
is removed from the types KeySelection
and ValueSelection
,
and two new types EditKeySelection
and EditValueSelection
are added.createKeySelection
and createValueSelection
are changed,
argument edit
is removed, and two new helper functions createEditKeySelection
and createEditValueSelection
are added.EditableValue
requires an additional property selection
.jsonquery
.createJSONEditor(...)
instead
of new JSONEditor(...)
in preparation for the upgrade to Svelte 5.new JSONEditor(...)
into createJSONEditor(...)
in preparation
for an upgrade to Svelte 5.expand
and collapse
(#458)undefined
instead of null
(#453).svelte-simple-modal
with native HTML <dialog />
(#462)edit
is removed from the types KeySelection
and ValueSelection
,
and two new types EditKeySelection
and EditValueSelection
are added.Ctrl+F
and Ctrl+H
not working in table mode whilst editing a valuesvelte@4
as a peer dependencyChangelog
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)