question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dataviewjs, embedded note disappears after 2 seconds

See original GitHub issue

What happened?

Firstly, in reading view I see embedded note. But after 2 seconds it suddenly disappears

DQL

JS

let names = 
  dv.pages("#bookmark")
    .sort(p => p.file.name)
    .file.name

 for (let name of names) {
    dv.el("n", "![["+name+"]]<br>")
  }

No response

Dataview Version

0.4.21

Obsidian Version

0.13.19

OS

Linux

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
scottTomaszewskicommented, Oct 12, 2022

Recorded a gif showing behavior. I can reliably reproduce when

  1. opening a fresh instance of obsidian
  2. adding embedded image to front matter and attempting to render with dataviewjs
  3. render works
  4. go back to editor and change the dataviewjs content (add space or something)
  5. render again

Peek 2022-10-12 09-39

Hopes this helps in debugging!

im on obsidian v0.15.9 and dataview v0.5.46

Console seems empty:

Obsidian Developer Console
plugin:dataview:20681 Dataview: version 0.5.46 (requires obsidian 0.13.11)
plugin:obsidian-timelines:37243 Loaded Timelines Plugin
plugin:obsidian-admonition:479 Obsidian Admonition loaded
plugin:obsidian-banners:28 Loading Banners...
plugin:obsidian-leaflet-plugin:2 Loading Obsidian Leaflet v5.0.4
plugin:obsidian-5e-statblocks:426 TTRPG StatBlocks loaded
plugin:obsidian-dice-roller:5731 DiceRoller plugin loaded
plugin:obsidian-dice-roller:5731 DataviewApi
plugin:obsidian-gallery:15166 Loaded Gallery Plugin
plugin:initiative-tracker:34243 Initiative Tracker v8.0.11 loaded
plugin:folder-note-plugin:9117 Loading Folder Note plugin.
plugin:table-editor-obsidian:23703 loading markdown-table-editor plugin
plugin:dataview:13951 Dataview: all 4167 files have been indexed in 2.117s (4167 cached, 0 skipped).
Read more comments on GitHub >

github_iconTop Results From Across the Web

DataviewJS Deep Dive and Ecosystem Updates - YouTube
ℹ️ About In this session, I'll be doing a deep dive on the Dataview plugin, but specifically the JavaScript API.
Read more >
DataviewJS Snippet Showcase - Obsidian Forum
At first, it embeds ABC.md successfully. But, after a few seconds, it disappers leaving only ABC. Can anyone help me solve this problem?...
Read more >
Changelog - Dataview - GitHub Pages
As part of the API revamp, it is now possible to programmatically execute Dataview and DataviewJS queries - either for using the existing...
Read more >
Dataview : r/ObsidianMD - Reddit
So the query view is two columns. First column contains a link to every day of that week. Second column contains, for each...
Read more >
Turn Obsidian Vault into a database you can query from
Dataview is incredible. Being able to query plain text notes and their metadata has been transformative for my workflow. It has allowed me...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found