We are developing an autosave plugin for the editors. We are calling save the item after few key press.
We are using the method:
The issue is if the item is very new(no existing version), then after the call of
ctx.saveCurrentItem(false) the cursor is not on the filed that the editor was typing. So the editor again needs to focus on the field by clicking. This issue does not occur if the item is saved once.
Also while the call of
ctx.saveCurrentItem(false) is running, if the editor keeps typing, then the newly typed letters(last 2 or 3) are removed after the call of
ctx.saveCurrentItem(false) completed. I guess that is because of reloading/resetting fields on the save.
Do you have any suggestion on these issues?