mariokorte commented on issue #2388:
URL: 
https://github.com/apache/incubator-kie-tools/issues/2388#issuecomment-2157552379

   Okay, i've found out it should be possible to submit additional resources 
this way:
   
   `const editor = DmnEditor.open({
     container: document.getElementById("dmn-editor-container"),
     initialContent: Promise.resolve("<your-dmn-content>"),
     readOnly: false,
     resources: new Map([
       [
         "MyIncludedModel.dmn",
         {
           contentType: "text",
           content: Promise.resolve("<your-included-model-content>")
         }
       ]
     ])
   });`
   
   Problem is, that whatever I add as resources, they never show up in the list 
of models to include. Is there still something I miss?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to