Search first
What Happened?
Related to onMacroRendererSlotted issue: #8904
payload.uuid points to wrong block uuid when executing onMacroRendererSlotted API call from query table
Demo
Reproduce the Bug
- Create a plugin and register handler to catch
payload.uuid:
logseq.App.onMacroRendererSlotted(async ({ slot, payload }) => { console.log(payload.uuid) }
Or use 🏛 Full House Templates plugin to easily get block uuid within onMacroRendererSlotted event. I'll provide next steps with :view command from this plugin.
- Go to any page and create block with content: #test {{renderer :view, "c.block.uuid"}}
- Go to another page and create query
[[test]]
- Switch query results to table view (list view has no bug)
- Wrong block uuid appeared in table
Expected Behavior
payload.uuid should always be the same original block with macro call
Desktop or Mobile Platform Information
MacOS v13.6
Logseq Desktop v0.9.13