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

Improve docs for EditorResourcePicker::_set_create_options #104481

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

Conversation

kleonc
Copy link
Member

@kleonc kleonc commented Mar 22, 2025

Adding custom options with EditorResourcePicker::_set_create_options with IDs starting from 0 results in conflicts with the built-in options ("Load", "Copy", "Paste", etc.), and hence the custom options not working correctly.

This PR adds a note explaining how to avoid such ID collisions.

@kleonc kleonc added enhancement topic:editor documentation cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release labels Mar 22, 2025
@kleonc kleonc added this to the 4.5 milestone Mar 22, 2025
@kleonc kleonc requested a review from a team as a code owner March 22, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release documentation enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants