File doesn't save on first save

It should be enough to save one time.

I need to save 2 times else page changes will not be recognized.

Add or remove an element on a page and save. Then try to preview, the page will be recognized as not saved.

1 Like

Is this only happening when using the menu? What if you use Ctrl+S / Cmd+S shortcut keys?

Same problem when using CTRL-S, only used menu for video.

Seems only to happen when adding element not when removing.

@patrick will check this.

I’m already aware of this bug and know the cause of it. We have an option Format document on save that is enabled by default. With the new monaco editor update the behavior of the formatDocument did change and is being triggered delayed. This means that on save when a document was not formatted it will do this a little moment after the save, that is making the document dirty again. I’m trying to find a solution for this, if you don’t matter the formatting then you can turn that option off in the options, then the save will work correctly again.

1 Like

Soved in Wappler 3.4.1

1 Like

This topic was automatically closed after 3 days. New replies are no longer allowed.