Back to jointjs.com.
CHANGELOG
-
ui.Widget - fix a too general input color CSS rule
Make sure that no
<input type="color">
is affected unless it is inside a toolbar widget.
-
dia.Cell - fix
isEmbeddedIn()
withdeep
option set tofalse
// Assert: performs a shallow check i.e. `el1` is a direct child of `el2` el1.isEmbeddedIn(el2, { deep: false });
-
util.svg - support embedded expressions
Fix string interpolation in
svg
tagged template.const selector = 'body'; const color = 'red'; const markup = util.svg`<rect @selector="${body}" fill="${color}"/>`
-
util.svg - prevent
className
set tonull
Prevent
<rect class="null"/>
when noclassName
is provided.