obsidian-text-expand icon indicating copy to clipboard operation
obsidian-text-expand copied to clipboard

[BUG] Not work when search panel didn't placed in left panel

Open Devon22 opened this issue 2 years ago • 8 comments

Hello, 0.11.2 doesn't seem to work. Rebooting or reinstalling doesn't help.

Devon22 avatar Jun 16 '22 14:06 Devon22

@Devon22 Could you provide an error from "Console" tab in inspector (Ctrl+Shift+I) when you try to trigger a plugin? Also, which version of Obsidian do you use?

mrjackphil avatar Jun 17 '22 11:06 mrjackphil

Obsidian v0.14.15

    at TextExpander.getSearchView (plugin:mrj-text-expand:629:108)
    at TextExpander.getSearchValue (plugin:mrj-text-expand:636:27)
    at TextExpander.saveLeftPanelState (plugin:mrj-text-expand:604:24)
    at TextExpander.eval (plugin:mrj-text-expand:539:18)
    at Generator.next (<anonymous>)
    at eval (plugin:mrj-text-expand:26:71)
    at new Promise (<anonymous>)
    at __awaiter (plugin:mrj-text-expand:22:12)
    at TextExpander.runTemplateProcessing (plugin:mrj-text-expand:532:16)
    at TextExpander.eval (plugin:mrj-text-expand:527:31)```

Devon22 avatar Jun 17 '22 11:06 Devon22

@Devon22 Is there an actual error message at the top of the error stack?

mrjackphil avatar Jun 17 '22 12:06 mrjackphil

Just found out that moving the search block back to the default position works. It doesn't work when moved to another location.

Devon22 avatar Jun 17 '22 13:06 Devon22

Ouch... I forgot about it. Now I get it.

mrjackphil avatar Jun 17 '22 13:06 mrjackphil

Hello, I got the same error, but the search bar is placed at the default location:

image

and the console doesn't show any error messages

Obsidian 0.15.6, Linux appimage version Text expand 0.11.2

rywng avatar Jul 15 '22 01:07 rywng

To make it more specific: not work when search panel didn't placed in left up panel.

Here is an example, and this does not work

image

mmdzt avatar Nov 13 '22 15:11 mmdzt

Having this bug as well

er1chu avatar Dec 28 '22 18:12 er1chu