Skip to content

Conversation

soren121
Copy link

@soren121 soren121 commented Apr 8, 2024

This is a general cleanup PR for the removeAttributesBySelector plugin. It was never updated for the v2 API, and its doc page was not very clear on how to use it; this PR addresses both.

Changes

  • Plugin was updated to use the V2 API
  • Added a check to avoid runtime errors when plugin is not configured, or misconfigured
  • Added a test to ensure plugin is a no-op when not configured
  • Expanded and clarified the plugin's doc page
  • Added TypeScript parameter types

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