mirror of
https://github.com/sartography/diagram-js-code-editor.git
synced 2025-01-11 16:14:23 +00:00
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', () => {
|
||||
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});
|
||||
});
|
||||
```
|
||||
|
||||
|
@ -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{
|
||||
|
@ -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');
|
||||
|
@ -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 |
Loading…
x
Reference in New Issue
Block a user