Skip to content

Desktop: Plugin API: Fix compatibility with YesYouKan plugin #12132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

personalizedrefrigerator
Copy link
Collaborator

Summary

This pull request moves global helper functions into a local (function () { ... })() scope. One of these helpers was added in #12083 and conflicts with a DOM API used by YesYouKan.

Fixes joplin/plugin-yesyoukan#46

Testing plan

  1. Open the YesYouKan editor view for a Kanban note.
  2. Add unchecked checkboxes to a card.
  3. Check one of the checkboxes.
  4. Switch notes.
  5. Switch back to the Kanban note.
  6. Verify that the checkbox is still checked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Checkbox state is no longer saving back to note
1 participant