Updated ReadMe
This commit is contained in:
parent
06ea00c115
commit
869d9eb4a4
|
@ -43,8 +43,13 @@ bpmnModeler.get('eventBus').fire('editor.validate.response', {passing: true, msg
|
||||||
});
|
});
|
||||||
|
|
||||||
bpmnModeler.get('eventBus').on('editor.scripts.request', () => {
|
bpmnModeler.get('eventBus').on('editor.scripts.request', () => {
|
||||||
let scripts = []
|
let scripts = [{name: "", description: ""}]
|
||||||
bpmnModeler.get('eventBus').fire('editor.scripts.response', {type: "type", msg: "msg"});
|
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});
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -97,8 +97,8 @@
|
||||||
.description {
|
.description {
|
||||||
display: none;
|
display: none;
|
||||||
color: #000 !important;
|
color: #000 !important;
|
||||||
min-width: 300px;
|
min-width: 250px;
|
||||||
background-color: #f2f2f2;
|
background-color: #f2f2f2 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-content .sub-trigger{
|
.dropdown-content .sub-trigger{
|
||||||
|
|
|
@ -180,8 +180,8 @@ Editor.prototype._init = function () {
|
||||||
objects_menu_container.appendChild(objects_menu);
|
objects_menu_container.appendChild(objects_menu);
|
||||||
|
|
||||||
toolbar.appendChild(run_btn);
|
toolbar.appendChild(run_btn);
|
||||||
toolbar.appendChild(objects_menu_container);
|
|
||||||
toolbar.appendChild(scripts_menu_container);
|
toolbar.appendChild(scripts_menu_container);
|
||||||
|
toolbar.appendChild(objects_menu_container);
|
||||||
|
|
||||||
// create ide textarea
|
// create ide textarea
|
||||||
var ide_window = document.createElement('div');
|
var ide_window = document.createElement('div');
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "diagram-js-code-editor",
|
"name": "diagram-js-code-editor",
|
||||||
"version": "1.0.4",
|
"version": "1.0.5",
|
||||||
"description": "A code-editor for diagram-js",
|
"description": "A code-editor for diagram-js",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"module": "dist/index.esm.js",
|
"module": "dist/index.esm.js",
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 102 KiB |
Loading…
Reference in New Issue