Comments (6)
Did you actually confirm the label editing though Enter or clicking outside of the element? If you don't do that before downloading the XML the label will be missing.
from bpmn-js.
A screencast demonstrating your issue would be helpful.
from bpmn-js.
Did you actually confirm the label editing though Enter or clicking outside of the element? If you don't do that before downloading the XML the label will be missing.
I was of the impression that editing text without clicking outside would be enough to register the change.
I guess it's more of an inconvenience than a bug, then?
from bpmn-js.
I can reproduce the issue. However, I don't think it's likely that we look into this. If you want to solve it on your own, you can call modeler.get('directEditing').complete()
before modeler.saveXML()
is executed.
from bpmn-js.
Thanks for pointing me to directEditing
! Since saveXML
is async, I save on 'commandStack.changed'
. So sadly calling complete()
does not help here!
Do you think it's a good idea to listen for keyup
and calling complete()
then?
edit: I tested it real quick: it's not a good idea, because it removes text focus...
from bpmn-js.
Have you tried to complete the direct editing when saveXML.start
event is fired. This way you complete only once, and right before the XML serialization is performed.
For further questions regarding your project, please head to the bpmn.io forum.
from bpmn-js.
Related Issues (20)
- Call activity outline not customized
- HTML validation errors HOT 10
- Investigate if we want to use `context-fill` and `context-stroke` for rendering markers HOT 2
- Attached XML can't able to open by BPMN 2.0 HOT 7
- Attached XML can't able to open by BPMN HOT 2
- View camunda diagram XML in REACT HOT 1
- Diagram search should only commit navigation changes on `ENTER` HOT 2
- Type `moddle` parts of the library
- Connection label overlapping connection HOT 7
- For the appendPreview service task, the icon is different from the real situation when it comes out.Also, the template custom icon cannot be previewed appendPreview HOT 3
- ContextPadProvider d.ts file has wrong type difinition HOT 4
- The template element(hover) icon rendering error HOT 4
- Toggling Vertical Pool Changes Its Direction HOT 1
- Lane resize constraints do not work when resizing from bottom right corner with any lane but the lowest one HOT 1
- Moving elements beyond the border of a pool is possible when moving it outside the viewport HOT 1
- How to dynamically change i18n HOT 2
- Distribute tasks horizontally does not provide efficient connection between tasks HOT 1
- Spacing tool enhancements HOT 3
- Increase Colour picker options HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bpmn-js.