Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
dmn-standalone.js
const editor = DmnEditor.open({
container: document.getElementById("dmn-editor-container"),
initialContent: Promise.resolve(""),
readOnly: false,
origin: "",
resources: new Map([
[
"MyIncludedModel.dmn",
{
contentType: "text",
content: Promise.resolve("")
}
]
])
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment