You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Thanks for the report, @zachthieme, I was able to reproduce this. I'm thinking it's because of this line: if event.target.matches('atom-text-editor:not([mini])'). The target element for ftml files does not match that (I just checked), so the condition fails. However, autosave works correctly when the whole window loses focus since in that case the check is not performed.
I'm wondering if @nathansobo can share some thoughts on whether we could relax that condition so that autosave works for non atom-text-editor element (blame indicates that you were the last person to change this code 😁 ✌️)? The pane item in question does satisfy the other requirements, listed here, and again -- it autosaves correctly when the whole window is blurred, so I'm hopeful we can relax that.
@zachthieme With that information ☝️, are you perhaps interested in making a pull request to modify this behavior? @jessegrosjean might be interested as well. 😄
I'm using https://github.com/FoldingText/foldingtext-for-atom which uses the FTML document type. When i navigate to a different tab it does not save for FTML files other file types save as expected.
Atom version: 1.0.19
Recently removed the Chocolatey installer version and installed via the new Squirrel-based installer