Skip to content

Conversation

b4rtaz
Copy link
Contributor

@b4rtaz b4rtaz commented Oct 23, 2024

This version provides the ability to sort the steps in the toolbox in a custom way. By default, the steps are sorted alphabetically.

EditorProvider.create(definitionModel, {
  // ...
  toolboxSorter(groups: ToolboxGroup[]) {
    // ...
  }
});

You can also hide certain steps from the toolbox by using the hidden method in the step builder.

createStepModel<MyStep>('myStep', 'task', step => {
  step.toolbox(false);
});

@b4rtaz b4rtaz merged commit 885fdca into main Oct 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant