patchcompose-drafts

2.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i patchcompose-drafts

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

6.02 kB

Total Files

7

Last publish

Collaborators

  • dominictarr