You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've changed an approach how the editors should notify the designer about changes in the definition. We've deleted `revalidate()` and `notifiyDefinitionChanged()` methods from the `Designer` class. Instead of this, now editors receive an editor's context.
The `type` of a step cannot contain special characters from now. Check [the type validator](src/core/type-validator.ts).
37
+
38
+
* ✅ `someType`
39
+
* ✅ `some-type`
40
+
* ✅ `some_type`
41
+
* ❌ `some type`
42
+
* ❌ `someType!`
43
+
44
+
By this, we could add the `type` to an element's class on the SVG canvas. That allows to customize components by CSS. Check [this example](examples/code-generator.html).
45
+
46
+
#### Restrictions
47
+
48
+
We added `canInsertStep`, `canMoveStep` and `canDeleteStep` callbacks to the `StepsConfiguration`. You may restrict some activity in the designer by this.
0 commit comments