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 Anchors to use 'target' rather than 'targetComponentIdentifier' #26

Open
dustinleblanc opened this issue Mar 2, 2021 · 0 comments · May be fixed by #27
Open

Allow Anchors to use 'target' rather than 'targetComponentIdentifier' #26

dustinleblanc opened this issue Mar 2, 2021 · 0 comments · May be fixed by #27

Comments

@dustinleblanc
Copy link

Apple supports both of these target types for anchors: https://developer.apple.com/documentation/apple_news/anchor

Allowing for setting anchors using just plain IDs instead of a component means that you can anchor items to specific paragraphs in a body field rather than anchoring to the body field itself (I am doing this within the context of a Drupal 8 site).

I imagine this would just be adding a setTarget to the Anchor class.

@dustinleblanc dustinleblanc linked a pull request Mar 2, 2021 that will close this issue
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 a pull request may close this issue.

1 participant