Automatic draft-saving plus Sefaria auto-linker leads to the post taking too long to save
If I write up a post on any other Codidact site, the auto-save feature isn't too bad; every time I click around in the text box, or pause for a moment, it briefly autosaves.
If I write up a post on Judaism Codidact that is strictly HTML-based, the same easy-to-use functionality holds.
If I write up a post on Judaism Codidact that
uses a source which calls the Sefaria auto-linker is longer than some amount of characters (not sure what the limit is, but it's on the longer side), rather than taking maybe half a second to auto-save, it instead takes closer to 5-10 seconds (depending on post length and how many Sefaria links there are) to auto-save. Whereas in general clicking to a different part of my post does not trigger the auto-save unless I also pause long enough in my typing, if Sefaria Linker is called I can't click out without waiting on the auto-save to do its thing.
This bug holds regardless of browser; I can try to grab a console log if you need it. My theory atm is that the Sefaria linker is called on auto-save for the preview, and the longer the post, the more it struggles to parse the entire post in a smallish amount of time.