diagram-js-direct-editing
A direct editing box for diagram-js.

License
MIT
Direct editing support for diagram-js
A direct editing box for diagram-js.

MIT
All notable changes to diagram-js-direct-editing are documented here. We use semantic versioning for releases.
_Note: Yet to be released changes appear here._
FEAT: restore focus on Canvas after closeDEPS: update to diagram-js@15.0.0DEPS: update to min-dom@4.2.1This reverts v3.0.0.
FEAT: restore background for all textboxes. You can remove the background with custom styles or a style config in direct editing provider.FEAT: remove background for non-resizable textboxes (#23)const MyProvider = {
activate: (element) => {
return {
style: {
backgroundColor: '#ffffff',
border: '1px solid #ccc'
}
// ...
}
}
}This reverts v2.1.1.
FIX: restore main package exportFIX: drop main package exportFEAT: allow loading as a moduleFIX: add package exportDEPS: bump utility dependenciesDEPS: support diagram-js@9FEAT: allow to query for active element (#25)DEPS: support diagram-js@8FIX: preserve Windows newline characters (#19)DEPS: support diagram-js@7DEPS: support diagram-js@6DEPS: support diagram-js@5DEPS: support diagram-js@4FIX: prevent injection of HTML and JS evaluation on paste (#13)FIX: only trigger update if text or bounds changed (#11)FIX: ignore superfluous whitespace around labelsFIX: return correct updated text box boundsCHORE: only compute text box bounds if actually necessaryFEAT: mark as compatible to diagram-js@3FEAT: accept fontFamily and fontWeight stylesCHORE: use box-sizing: border-box for proper computation ofThis reverts v1.2.1.
FIX: use textContent to retrieve correct editing values in IE 11 (#5)Check git log for earlier history.