Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting custom classname to Watermark entities for easy querying #1219

Merged
merged 3 commits into from
Aug 30, 2022

Conversation

ianeli1
Copy link
Member

@ianeli1 ianeli1 commented Aug 30, 2022

As requested by #1079, there's no easy way to query for watermark elements without reverse-engineering Rooster a little.

Given that the current class name (_EId_WATERMARK_WRAPPER) is also used for the entity system, overriding is not an option. As such, an optional extra class can be added to these entities specifically. This is done when constructing the Watermark plugin by adding a string as a third parameter.

@ianeli1 ianeli1 merged commit 9e829a8 into master Aug 30, 2022
@JiuqingSong JiuqingSong deleted the u/ianeli/custom-class-watermark-plugin branch October 31, 2022 19:23
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.

Add param to customize classname for Watermark
2 participants