diagram-js-direct-editing
Advanced tools
Comparing version 1.2.3 to 1.3.0
@@ -9,2 +9,4 @@ # Changelog | ||
* `FEAT`: accept `fontFamily` and `fontWeight` styles | ||
* `CHORE`: use `box-sizing: border-box` for proper computation of | ||
@@ -11,0 +13,0 @@ ## 1.2.2 |
@@ -127,2 +127,3 @@ import { | ||
border: '1px solid #ccc', | ||
boxSizing: 'border-box', | ||
wordWrap: 'normal', | ||
@@ -134,3 +135,5 @@ textAlign: 'center', | ||
var contentStyle = pick(style, [ | ||
'fontFamily', | ||
'fontSize', | ||
'fontWeight', | ||
'lineHeight', | ||
@@ -147,3 +150,4 @@ 'padding', | ||
width: '100%', | ||
outline: 'none' | ||
outline: 'none', | ||
wordWrap: 'break-word' | ||
}, contentStyle); | ||
@@ -150,0 +154,0 @@ |
{ | ||
"name": "diagram-js-direct-editing", | ||
"version": "1.2.3", | ||
"version": "1.3.0", | ||
"description": "Direct editing support for diagram-js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18553
490