Skip to content

Add optional markClass to Actions#17

Merged
marijnh merged 1 commit intocodemirror:mainfrom
benniekiss:actions-styling
Sep 26, 2025
Merged

Add optional markClass to Actions#17
marijnh merged 1 commit intocodemirror:mainfrom
benniekiss:actions-styling

Conversation

@benniekiss
Copy link
Copy Markdown
Contributor

This PR adds a markClass attribute to the Action interface and assigns additional CSS classes to the rendered action based on the value. This adds a way to style an individual or group of actions.

@marijnh marijnh merged commit 50bd118 into codemirror:main Sep 26, 2025
marijnh added a commit that referenced this pull request Sep 26, 2025
@marijnh
Copy link
Copy Markdown
Member

marijnh commented Sep 26, 2025

Thanks! That seems like a reasonable addition. Merged.

@benniekiss benniekiss deleted the actions-styling branch September 26, 2025 14:31
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.

2 participants