Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinitive Loop when try to load content of current file #2488

Open
Zoynels opened this issue Dec 5, 2024 · 0 comments
Open

Infinitive Loop when try to load content of current file #2488

Zoynels opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working.

Comments

@Zoynels
Copy link

Zoynels commented Dec 5, 2024

What happened?

I need to receive the content of the current file to parse some lines to calculate it with regex, but I get an infinitive loop when I try to receive the raw content. Is there any way to obtain the raw content of the current page?

DQL

No response

JS

let text1 = await dv.io.load(dv.current().file.path); // ininitive loop
dv.paragraph(`Content: \n${text1}`);

Dataview Version

0.5.67

Obsidian Version

1.7.7

OS

Windows

@Zoynels Zoynels added the bug Something isn't working. label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

1 participant