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

Cannot view or paste images in whiteboard page #8919

Closed
1 of 2 tasks
pengx17 opened this issue Mar 28, 2023 · 4 comments · Fixed by #8927
Closed
1 of 2 tasks

Cannot view or paste images in whiteboard page #8919

pengx17 opened this issue Mar 28, 2023 · 4 comments · Fixed by #8927
Assignees
Milestone

Comments

@pengx17
Copy link
Contributor

pengx17 commented Mar 28, 2023

Search first

  • I searched and no similar issues were found

What Happened?

All my images in whiteboard now show image placeholders. Also, when pasting images into a whiteboard, nothing happens.

Something like this in the preview:
image

Reproduce the Bug

Pasting new images in whiteboard page does not create new image shapes.
Images do not show in dashboard or single pages.

Expected Behavior

No response

Screenshots

No response

Desktop or Mobile Platform Information

macOS 13.2.1 ARM64, 0.9.0 desktop

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)
@andelf andelf self-assigned this Mar 28, 2023
@andelf andelf added this to the 0.9.1 milestone Mar 28, 2023
@tiensonqin
Copy link
Contributor

@pengx17 I failed to reproduce this bug, any console log?

andelf added a commit that referenced this issue Mar 28, 2023
@pengx17
Copy link
Contributor Author

pengx17 commented Mar 28, 2023

I can see Logseq is trying to access image files using the wrong path. The path gos one level up to the actual path. e.g.,
image

@andelf
Copy link
Collaborator

andelf commented Mar 28, 2023

@pengx17 Could you try #8927? This is caused by a typo in regexp.🥲

@pengx17
Copy link
Contributor Author

pengx17 commented Mar 28, 2023

@andelf I manually patch main.js with the fix and it works. Thanks :)

andelf added a commit that referenced this issue Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants