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

show custom element sources in CKE link to {type} #149

Merged
merged 3 commits into from
Feb 2, 2024

Conversation

i-just
Copy link
Contributor

@i-just i-just commented Nov 16, 2023

Description

Show custom element sources in the link to the entry/category/asset modal.

For custom sources, we don’t have a way of knowing if the elements in that source have URLs or not (so essentially if they can be linked to or not), but the 'criteria' => ['uri' => ':notempty:'], takes care of hiding any elements that don’t have a link. So technically, there’s a chance that custom element sources will show in the modal’s sidebar, but there will be no elements to choose from in them.

If approved, I’ll create a PR for Commerce, too.

Related issues

#139

@i-just i-just requested a review from brandonkelly as a code owner November 16, 2023 15:28
@brandonkelly brandonkelly merged commit 0073c7b into main Feb 2, 2024
@brandonkelly brandonkelly deleted the bugfix/139-linkoptions-custom-element-sources branch February 2, 2024 05:11
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.

2 participants