Updated ReadMe

This commit is contained in:
NWalker4483 2021-06-04 16:19:37 -04:00
parent 06ea00c115
commit 869d9eb4a4
5 changed files with 11 additions and 6 deletions

View File

@ -43,8 +43,13 @@ bpmnModeler.get('eventBus').fire('editor.validate.response', {passing: true, msg
});
bpmnModeler.get('eventBus').on('editor.scripts.request', () => {
let scripts = []
bpmnModeler.get('eventBus').fire('editor.scripts.response', {type: "type", msg: "msg"});
let scripts = [{name: "", description: ""}]
bpmnModeler.get('eventBus').fire('editor.scripts.response', {scripts: scripts});
});
bpmnModeler.get('eventBus').on('editor.objects.request', () => {
let data = [{userId: "int", description: "string"}]
bpmnModeler.get('eventBus').fire('editor.scripts.response', {objects: data});
});
```

View File

@ -97,8 +97,8 @@
.description {
display: none;
color: #000 !important;
min-width: 300px;
background-color: #f2f2f2;
min-width: 250px;
background-color: #f2f2f2 !important;
}
.dropdown-content .sub-trigger{

View File

@ -180,8 +180,8 @@ Editor.prototype._init = function () {
objects_menu_container.appendChild(objects_menu);
toolbar.appendChild(run_btn);
toolbar.appendChild(objects_menu_container);
toolbar.appendChild(scripts_menu_container);
toolbar.appendChild(objects_menu_container);
// create ide textarea
var ide_window = document.createElement('div');

View File

@ -1,6 +1,6 @@
{
"name": "diagram-js-code-editor",
"version": "1.0.4",
"version": "1.0.5",
"description": "A code-editor for diagram-js",
"main": "dist/index.js",
"module": "dist/index.esm.js",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 102 KiB