Skip to content

Commit

Permalink
21.1.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgraph committed Mar 29, 2023
1 parent 21292f5 commit 8d9a992
Show file tree
Hide file tree
Showing 72 changed files with 6,743 additions and 6,548 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
@@ -1,3 +1,11 @@
29-MAR-2023: 21.1.2

- Fixes handling of ctrl+shift+v on Mac [drawio-291]
- Fixes properties cannot be named id [drawio-3460]
- [vsdx]] Adds overflow=width to improve support label alignment [DID-7420]
- Fixes change of title size in tables [drawio-3468]
- Adds live preview for change of swimlane title size

23-MAR-2023: 21.1.1

- Fixes possible f.replace is not a function
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -10,7 +10,7 @@ The source code in this repo is licensed under the Apache v2.

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.

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.
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.

Scope of the Project
--------------------
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
21.1.1
21.1.2
2,847 changes: 1,424 additions & 1,423 deletions src/main/webapp/js/app.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/main/webapp/js/diagramly/vsdx/importer.js
Expand Up @@ -10379,6 +10379,7 @@ var com;
if (txtChildren != null) {
/* put */ (this.styleMap[mxConstants.STYLE_VERTICAL_ALIGN] = this.getAlignVertical());
/* put */ (this.styleMap[mxConstants.STYLE_ALIGN] = this.getHorizontalAlign("0", false));
this.styleMap['overflow'] = 'width';
return this.getHtmlTextContent(txtChildren);
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/js/extensions.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/main/webapp/js/grapheditor/Dialogs.js
Expand Up @@ -1648,7 +1648,8 @@ var EditDataDialog = function(ui, cell)
var name = nameInput.value;

// Avoid ':' in attribute names which seems to be valid in Chrome
if (name.length > 0 && name != 'label' && name != 'placeholders' && name.indexOf(':') < 0)
if (name.length > 0 && name != 'label' && name != 'id' &&
name != 'placeholders' && name.indexOf(':') < 0)
{
try
{
Expand Down
11 changes: 11 additions & 0 deletions src/main/webapp/js/grapheditor/Graph.js
Expand Up @@ -12842,6 +12842,17 @@ if (typeof mxVertexHandler !== 'undefined')
return result;
};

/**
* Forces preview for title size in tables, table rows, table cells and swimlanes.
*/
var vertexHandlerIsGhostPreview = mxVertexHandler.prototype.isGhostPreview;
mxVertexHandler.prototype.isGhostPreview = function()
{
return vertexHandlerIsGhostPreview.apply(this, arguments) && !this.graph.isTable(this.state.cell) &&
!this.graph.isTableRow(this.state.cell) && !this.graph.isTableCell(this.state.cell) &&
!this.graph.isSwimlane(this.state.cell);
};

/**
* Creates the shape used to draw the selection border.
*/
Expand Down

0 comments on commit 8d9a992

Please sign in to comment.