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

Add support for the <object> tag #39

Merged
merged 4 commits into from
Mar 31, 2023
Merged

Conversation

AlexLike
Copy link
Contributor

The <object> tag is a common way to include external SVG-files while preserving interactivity.

This request adds support for the <object> tag and its data: URL attribute with a new HTMLLinkableDataContext (because data(named name: String, value: String) -> Node couldn't accommodate the spec).

testObject() passes successfully.

(This is my first open-source PR, by the way. I hope everything goes as planned.)

… a new `HTMLLinkableDataContext`. Include `testObject()` and pass successfully.
Copy link
Owner

@JohnSundell JohnSundell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AlexLike I'm incredibly sorry for not re-reviewing your PR until now. It looks like a great addition to Plot, so I just resolved the conflicts with master and will merge it in once CI passes. Thanks a lot for contributing to Plot, and once again, I'm very sorry for taking literally years to review this PR!

@JohnSundell JohnSundell merged commit caaef5f into JohnSundell:master Mar 31, 2023
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