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

Stop modal opening when links in handle clicked #15

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

Conversation

IAmAdamTaylor
Copy link

Related to my previous PR #8

When clicking on any links within the layout handle, specifically with target="_blank", the modal is still opened.

Links can be created when using the ACF hook acf/fields/flexible_content/layout_title as mentioned in the readme.md. This could be creating a quick edit link for a post object field or a link to an external URL for a link field.

toLowerCase() is used to ensure standardisation between different formats.

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