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

Fix APIfeature.traps.paint() can't get #961

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Masaabu
Copy link
Contributor

@Masaabu Masaabu commented Sep 6, 2024

In my environment, the paint editor feature wasn't working, and upon investigating the cause, I noticed that feature.traps.paint() was returning null. Further investigation revealed that the class name for the paint editor's mode selector had changed from paint-editor_mode-selector_28iiQ to paint-editor_mode-selector_O2uhP. As a result, I updated the code to search for the new class name when the element with the old class name paint-editor_mode-selector_28iiQ couldn't be found. At least in my environment, this issue has been resolved.

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