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
I recently migrated a WordPress site to a static one and re-wrote a large chunk of modern-footnotes.js in vanilla JS. It was fairly straight-forward and is working well. I can share the source here if there is interest in migrating. Having this plugin available on NPM without jQuery would make this viable for many other projects.
The text was updated successfully, but these errors were encountered:
@a-kriya That would be great if you can share the file here! It would be nice to remove jQuery as a dependency so this can translate easier to platforms outside of WordPress.
GitHub does not accept a JS file as an attachment, so it's zipped: mfn.js.zip
A majority of the file was translated line-by-line, but I removed some event handlers. The source I used was from August, so it also does not have the changes from the latest accessibility improvements commit.
Check it out and let me know if I can help with anything else.
I recently migrated a WordPress site to a static one and re-wrote a large chunk of modern-footnotes.js in vanilla JS. It was fairly straight-forward and is working well. I can share the source here if there is interest in migrating. Having this plugin available on NPM without jQuery would make this viable for many other projects.
The text was updated successfully, but these errors were encountered: