Skip to content

Conversation

tbouffard
Copy link
Member

Graph.isCellEditable considered that the default value was false.
The code hadn't been correctly migrated from mxGraph, see https://github.com/jgraph/mxgraph/blob/v4.2.2/javascript/src/js/view/mxGraph.js#L10542-L10557
So, to configure a Cell as "editable", the style of Cell had to be explicitly configured the editable
property to true.

Notes

Covers #544
First detected in #532

`Graph.isCellEditable` considered that the default value was `false`.
The code hadn't been correctly migrated from mxGraph, see https://github.com/jgraph/mxgraph/blob/v4.2.2/javascript/src/js/view/mxGraph.js#L10542-L10557
So, to configure a Cell as "editable", the style of Cell had to be explicitly configured the editable
property to `true`.
@tbouffard tbouffard added the bug Something isn't working label Nov 11, 2024
@tbouffard tbouffard changed the title fix: correctly consider the default value of CellStateStyle.editable fix: correctly use the default value of CellStateStyle.editable Nov 11, 2024
@tbouffard tbouffard marked this pull request as ready for review November 12, 2024 08:03
@tbouffard tbouffard merged commit 5d4137d into main Nov 13, 2024
5 checks passed
@tbouffard tbouffard deleted the fix/use_right_default_value_CellStateStyle.editable branch November 13, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant