Newtonian Particle Motion
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    patchcompose-draftspublic

    patchcompose-drafts

    save/load pathless drafts in localStorage.

    this hooks into patchcompose-insert, that interface was intended for inserting links, but also works for drafts because it gives a handle to the textarea. The draft is saved under the name of the page that the composer sits on.

    There maybe some stuff to work out for drafts on channels or with private recipients... but we'll cross that brigde when we come to it.

    License

    MIT

    Keywords

    none

    install

    npm i patchcompose-drafts

    Downloadslast 7 days

    9

    version

    2.0.0

    license

    MIT

    repository

    github.com

    last publish

    collaborators

    • avatar