konodyuk / obsidian-typing

Programmatic customizations for groups of notes
https://konodyuk.github.io/obsidian-typing/
MIT License
134 stars 8 forks source link

Fix: Endless Icon Insertion at the Top of the File's Window #23

Closed ArlonSwaders closed 2 months ago

ArlonSwaders commented 2 months ago

Closes #22


What is changed?

The condition is trying to match an a element with a viewActions class and aria-label="Actions". However, this does not match, since the elements in the viewActions are of type button. At least, in my version of Obsidian (v1.6.7). image

Changing a to button seems to fix the problem for me. To verify that, I made the change in .obsidian\plugins\typing\main.js on line 163363 of the installed plugin.

Before change: image

After change: image

konodyuk commented 2 months ago

hi, this is great, i am ready to merge it as soon as you undraft this pull