Last active
January 12, 2021 20:55
-
-
Save ljmotta/c65dc7ff7f8e4acf67c051d1887fee58 to your computer and use it in GitHub Desktop.
Embed model with GitHubGist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iframe width="100%" height="100%" srcdoc="<!DOCTYPE html> <html lang="en"> <head> <script | |
src="https://kiegroup.github.io/kogito-online/standalone/bpmn/index.js"></script> <title></title> <style> | |
html, body, iframe { margin: 0; border: 0; padding: 0; height: 100%; | |
width: 100%; } </style> </head> <body> <script> | |
fetch("https://gist.githubusercontent.com/ljmotta/9323333a2e5c64a4c78bf96c8487bd9c/raw/mygist.bpmn") | |
.then(response => response.text()) .then(content => BpmnEditor.open({container: document.body, readOnly: true, | |
initialContent: content, origin: "*" })) </script> </body> </html>"></iframe> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment