oliveryh / obsidian-emoji-toolbar

An Obsidian plugin to quickly add emojis into your notes
BSD 3-Clause "New" or "Revised" License
203 stars 11 forks source link

Using the picker on a new window displays an error message #43

Open Sergio-Santana opened 2 years ago

Sergio-Santana commented 2 years ago

With the new Obsidian update we can move tabs and put them on a new window. When I do so and open the emoji picker in the new window, it displays the following error.

Cannot read properties of undefined (reading 'getElementsByTagName')

I see there's another issue opened with the same error message (https://github.com/oliveryh/obsidian-emoji-toolbar/issues/38) but this seems different. If it's not feel free to merge them together.