DearVikki / obsidian-cloze-plugin

A plugin for Obsidian which enables converting highlights, underlines, bolded texts, or any selected texts into clozes.
Mozilla Public License 2.0
66 stars 4 forks source link

[bug] Cloze plugin breaks Dataview inline queries in Obsidian 1.7.4 #32

Open tiovialde opened 4 weeks ago

tiovialde commented 4 weeks ago

After the latest update of Obsidian (1.7.4) Cloze breaks Dataview, or atleast in my experience. I haven't been able to make both of them work simultaneously. This is true for live preview. In editing mode, some inline queries give results

Community plugins turned on: Cloze Homepage Dataview

Homepage with Cloze plugin turned on (Dataview inline query - Live preview)

image

Homepage with Cloze plugin turned off (working links)

image

notes

Inline queries working in editing view $=dv.pages('"folderName"').length

Inline query broken in both editing view and live preview modes: $=dv.list(dv.pages('').sort(f=>f.file.mtime.ts,"desc").limit(10).file.link)

DearVikki commented 1 week ago

Hi @tiovialde I really appreciate your detailed feedback. However, I didn't reproduce it in my side (Obsidian latest v1.7.6), could you please provide me with your example file.md (with the least needed information) if possible?

My testing screenshots:

image image