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

Get SVG strings back for "other" SVG elements #13

Open
dan-fritchman opened this issue Oct 26, 2022 · 0 comments
Open

Get SVG strings back for "other" SVG elements #13

dan-fritchman opened this issue Oct 26, 2022 · 0 comments

Comments

@dan-fritchman
Copy link
Collaborator

We essentially parse everything in an SVG schematic into two camps:

  1. Schematic content
  2. Anything else

Elements in camp (2) should be retained and saved back to file, and someday be editable in our editor.
Thus far we haven't really done any of that, except parse them, look at them, and drop them.
We just have their parser objects (for now), and haven't sorted out turning them back into SVG strings.

The (incredibly helpful!) parser we've used https://github.com/Rich-Harris/svg-parser has a related issue: Rich-Harris/svg-parser#14. Using that should be our answer.

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

No branches or pull requests

1 participant