nothingislost / obsidian-query-control

An experimental Obsidian plugin that adds controls to embedded queries
MIT License
304 stars 20 forks source link

a patch of Obsidian-Query-Control for Obsidian 1.2.x #29

Closed zhao414 closed 1 year ago

zhao414 commented 1 year ago

Obsidian-Query-Control does not work under Obsidian 1.2.x. I think the reason is that the searchHeaderDOM is not available in Obsidian 1.2.x.

This patch simply commented all the lines related to the searchHeaderDOM. And the output works as expected. The bad news for the users is : the buttons on the embedded search and native search for Obsidian-Query-Control have gone and the copy result function for the embedded search is not available. However, the good news is : excepted those things, most functionalities remained. And most importantly, we can use this plugin again.

Thank you for providing such a powerful plugin.