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

svg export via cli command and headless browser #439

Closed
wants to merge 1 commit into from

Conversation

jbicker
Copy link
Contributor

@jbicker jbicker commented Feb 22, 2024

This is a first try regarding #421.

Solution for now: listening to an custom browser event in the respective app (here it is the JSXample page) which will be fired by an cli command (sprotty export http://localhost:8080/jsxample/jsxample.html) .
Very pragmatic. Maybe there is a more general/elegant way that is to be discussed.
Hence the Draft PR.

@gfontorbe gfontorbe mentioned this pull request Feb 23, 2024
"file-saver": "^2.0.5",
"inversify": "~6.0.2",
"puppeteer": "^22.2.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

We should not have these dependencies in the base package of Sprotty. If we go for this solution, the new code should be moved to a new package.

@spoenemann
Copy link
Contributor

This is now solved with #454.

@spoenemann spoenemann closed this Jul 23, 2024
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