The exported bpmn or svg doesn’t contain the new text from the task since it wasn’t commited yet. The user has to click outside first in order to commit the changes in the task before exporting a file.
What API call can I use in order to accept the changes in the task?
Is this related to this issue? Sounds like it.
Yes, it looks like there is a connection to the other issue.
Are you aware of an API Call to accept the changes before exporting, so that I can solve this issue my self at least?
The direct editing box currently only commits on blur.
It can be completed manually using the DirectEditing service:
var directEditing = bpmnJS.get('directEditing');
// any point in time
Thank you. That helps!