Skip to content

Toolbar button doesn't work #791

@kstanyslaw

Description

@kstanyslaw

I tried this template. Immediately after cloning, I tried to run it in logseq, but the button in the toolbar did not respond to clicks. Also, its mouseover behavior was not as expected. Then I made some changes and it worked.

Should change this code

<div data-on-click="show" class="${openIconName}">⚙️</div>

...to this

<a data-on-click="show">
      <div class="${openIconName}">⚙️</div>
</a>

I hope this was helpful and you will add this little fix to the plugin template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions