Skip to content

Instantly share code, notes, and snippets.

@niallsmart
Last active December 28, 2023 00:10
Show Gist options
  • Save niallsmart/d7138b87b306a1f3bb8a to your computer and use it in GitHub Desktop.
Save niallsmart/d7138b87b306a1f3bb8a to your computer and use it in GitHub Desktop.
Copy Trello checklist to clipboard
copy($(".checklist-item:not(.checklist-item-checked)").map(function() {
var e = $(this),
item = e.find(".checklist-item-details-text").text()
if (e.hasClass("checklist-item-state-complete")) {
item = item + " (DONE)"
}
return item
}).get().join("\n"))
@nicolaskenner
Copy link

This just came in handy! Thank you very much :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment