Skip to content

feat: Add clearClasses parameter to addClassesToSVGElement plugin#2210

Open
anselmbradford wants to merge 1 commit into
svg:mainfrom
anselmbradford:ans_classes_plugin
Open

feat: Add clearClasses parameter to addClassesToSVGElement plugin#2210
anselmbradford wants to merge 1 commit into
svg:mainfrom
anselmbradford:ans_classes_plugin

Conversation

@anselmbradford

Copy link
Copy Markdown

Fixes #2209

Add clearClasses parameter to addClassesToSVGElement plugin to allow clearing of existing class names from the outer most <svg>.

yarn test should pass.

@anselmbradford anselmbradford changed the title Add clearClasses parameter to addClassesToSVGElement plugin feat: Add clearClasses parameter to addClassesToSVGElement plugin Apr 8, 2026
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.

addClassesToSVGElement doesn't clear out existing classes

1 participant