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

Link properties not present in SVGNode #148

Open
Akshay090 opened this issue Dec 21, 2024 · 0 comments
Open

Link properties not present in SVGNode #148

Akshay090 opened this issue Dec 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Akshay090
Copy link

Describe the bug
On SVGNode type nodes, link property don't exits, due to this we're not able to access the links added to svg elements.

To Reproduce
Steps to reproduce the behavior:

  1. scaffold a new framer plugin project using npm create framer-plugin@latest
  2. log the selection node by adding line
    const selection = useSelection()
    console.log('selected node is:', selection)
  1. on framer project, click anywhere on canvas and insert the logo (svg)
  2. Add a link to the svg logo from right sidebar
  3. now click on the svg element and check developer console logs, we are not able to see the link property

Expected behavior
A clear and concise description of what you expected to happen.

property link, linkOpenInNewTab should be available on SVGNode as it's there on other node types like FrameNode, TextNode

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2024-12-21 at 7 53 31 PM
screenshot showing link, linkOpenInNewTab not present on SVGNode

Additional context
Add any other context about the problem here.

@Akshay090 Akshay090 added the bug Something isn't working label Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant