Open Jainbhavik332 opened 1 year ago
@Jainbhavik332 Hi! The DMN Editor is being rewritten. See:
Our plan is to deprecate the current DMN Editor on @kie-tools/kie-editors-standalone
in favor of a new package called @kie-tools/dmn-editor-standalone
. I can't give you an exact date, but it should be available on the first half of 2024.
In any case, the current DMN Editor on @kie-tools/kie-editors-standalone
is a very complicated hack. It involved pre-building the entire HTML for an iframe that gets inlined and appended to the page. Some resources that are fetched by it when initializing have to be done prior to opening it too, and there's a lot going on in the background.
Our official build is ~15MB uncompressed. Maybe you're building it with build:dev
?
When I build the package kie-editors-standalone , I got index.js file in dist folder of around 150 mb , which is taking around 30 sec to open the editor , is there any way to get index.js only for dmn editor just like you have given for standalone editors of around 50 mb @yesamer @tiagobento @ederign .