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

Feature request: embeddable/web page plugin #11

Open
dragoncoder047 opened this issue Mar 5, 2022 · 1 comment
Open

Feature request: embeddable/web page plugin #11

dragoncoder047 opened this issue Mar 5, 2022 · 1 comment

Comments

@dragoncoder047
Copy link

Would it be possible to use logicemu as a plugin for a web page, to embed interactive logic circuits between paragraphs on a site?

I think this could be accomplished through a special URL with parameters to control everything the buttons toolbar normally would, such as https://lodev.org/logicemu/embed?source=<base64 encoded source file>&theme=<some theme>&autostart=true&speed=fast&render=graphical that could be embedded in an iframe. There could also be a link for 'open in logicemu' that opens to the full-page app that already exists.

If CORS issues get in the way then an idea is a replacement main.js that instead of rendering in the <body>, only renders in marked <div>s which contain the source.

@dragoncoder047
Copy link
Author

Sorry -- probably a duplicate of #2 -- but I'd like to share the ideas

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