Skip to content

Comments

Fix: Resolve code folding conflict on mobile (#120)#136

Open
imshubham22apr-gif wants to merge 1 commit intojoplin:masterfrom
imshubham22apr-gif:fix/issue-120-code-folding-mobile
Open

Fix: Resolve code folding conflict on mobile (#120)#136
imshubham22apr-gif wants to merge 1 commit intojoplin:masterfrom
imshubham22apr-gif:fix/issue-120-code-folding-mobile

Conversation

@imshubham22apr-gif
Copy link

This PR resolves the issue where the code folding feature in the "Extended Markdown editor settings" plugin would stop working on mobile when this templates plugin was installed.

Changes:

  • Implemented lazy loading for the mobile CommandsPanel. The panel is no longer automatically initialized on startup.
  • Registered a 'showTemplatesPanel' command and added a menu item under 'Tools' to allow manual panel activation.
  • Added a 'created' flag to CommandsPanel to prevent redundant initializations.

Fixes #120.

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.

Kills code folding in another plugin

1 participant