Skip to content

Commit 8d9a992

Browse files
committed
21.1.2 release
1 parent 21292f5 commit 8d9a992

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+6743
-6548
lines changed

ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
29-MAR-2023: 21.1.2
2+
3+
- Fixes handling of ctrl+shift+v on Mac [drawio-291]
4+
- Fixes properties cannot be named id [drawio-3460]
5+
- [vsdx]] Adds overflow=width to improve support label alignment [DID-7420]
6+
- Fixes change of title size in tables [drawio-3468]
7+
- Adds live preview for change of swimlane title size
8+
19
23-MAR-2023: 21.1.1
210

311
- Fixes possible f.replace is not a function

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The source code in this repo is licensed under the Apache v2.
1010

1111
The JGraph provided icons and diagram templates are licensed under the [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Additional terms may also apply where the icons are originally defined by a third-party copyright holder. We have checked in all cases that the original license allows use in this project. Also see the terms for using the draw.io logo below.
1212

13-
Additional minified JavaScript files and Java libraries are used in this project. All of the licenses are deemed compatible with the Apache 2.0, nothing is GPL or AGPL ,due dilgence is performed on all third-party code.
13+
Additional minified JavaScript files and Java libraries are used in this project. All of the licenses are deemed compatible with the Apache 2.0, nothing is GPL or AGPL, due dilgence is performed on all third-party code.
1414

1515
Scope of the Project
1616
--------------------

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
21.1.1
1+
21.1.2

src/main/webapp/js/app.min.js

Lines changed: 1424 additions & 1423 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/webapp/js/diagramly/vsdx/importer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10379,6 +10379,7 @@ var com;
1037910379
if (txtChildren != null) {
1038010380
/* put */ (this.styleMap[mxConstants.STYLE_VERTICAL_ALIGN] = this.getAlignVertical());
1038110381
/* put */ (this.styleMap[mxConstants.STYLE_ALIGN] = this.getHorizontalAlign("0", false));
10382+
this.styleMap['overflow'] = 'width';
1038210383
return this.getHtmlTextContent(txtChildren);
1038310384
}
1038410385
}

src/main/webapp/js/extensions.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/webapp/js/grapheditor/Dialogs.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,8 @@ var EditDataDialog = function(ui, cell)
16481648
var name = nameInput.value;
16491649

16501650
// Avoid ':' in attribute names which seems to be valid in Chrome
1651-
if (name.length > 0 && name != 'label' && name != 'placeholders' && name.indexOf(':') < 0)
1651+
if (name.length > 0 && name != 'label' && name != 'id' &&
1652+
name != 'placeholders' && name.indexOf(':') < 0)
16521653
{
16531654
try
16541655
{

src/main/webapp/js/grapheditor/Graph.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12842,6 +12842,17 @@ if (typeof mxVertexHandler !== 'undefined')
1284212842
return result;
1284312843
};
1284412844

12845+
/**
12846+
* Forces preview for title size in tables, table rows, table cells and swimlanes.
12847+
*/
12848+
var vertexHandlerIsGhostPreview = mxVertexHandler.prototype.isGhostPreview;
12849+
mxVertexHandler.prototype.isGhostPreview = function()
12850+
{
12851+
return vertexHandlerIsGhostPreview.apply(this, arguments) && !this.graph.isTable(this.state.cell) &&
12852+
!this.graph.isTableRow(this.state.cell) && !this.graph.isTableCell(this.state.cell) &&
12853+
!this.graph.isSwimlane(this.state.cell);
12854+
};
12855+
1284512856
/**
1284612857
* Creates the shape used to draw the selection border.
1284712858
*/

0 commit comments

Comments
 (0)