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

Image wrongly imported from clipboard into TextBundle file #6262

Open
jmbeck15 opened this issue Jan 25, 2025 · 0 comments
Open

Image wrongly imported from clipboard into TextBundle file #6262

jmbeck15 opened this issue Jan 25, 2025 · 0 comments

Comments

@jmbeck15
Copy link

jmbeck15 commented Jan 25, 2025

Describe the bug
When pasting an image into a TextBundle file, the path is described as (e.g.) textbundle/image-20250125144433623.png rather than copied into assets/. The image is not displayed.

To Reproduce
Steps to reproduce the behavior:

  1. Create a TextBundle file and open it with Typora. The "convert to TextBundle" option under Image > "When insert.." works just fine.
  2. Drag and drop an image from your computer. This also works just fine; the image appears in the document and is stored under the assets/ path.
  3. Now take a screenshot into the clipboard (Ctrl+Shift+Cmd+4 on macOS) and paste it anywhere in the document.
  4. Notice that the screenshot doesn't appear, and the path to the image is appended with textbundle/. The binary data is nowhere I can find (certainly it's not in the file).

Expected behavior
The image binary should be named and placed in the assets/ directory in the TextBundle file, and linked accordingly.

Desktop (please complete the following information):

  • OS: macOS 15.1.1 (24B91)

Typora Version
Version 1.10.5-dev (7350)

Additional context
The fact that TextBundle is now added to Typora is just fantastic. This really makes my notes much more rich and helpful, so thank you all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant