Skip to content

feat: paste to insert image or files into text content #4698

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

lyonbot
Copy link

@lyonbot lyonbot commented May 18, 2025

  • When press Ctrl/Cmd + V, Auto create [[resources/xxx]] in Markdown
  • Auto select the placeholder & inserted marker.
  • Confirm before deleting a referenced resource. (only in current memo)
  • Fix issues of rendering ![[resources/xxx]]
  • Add support for rendering [[resources/xxx]]
  • Use <a> links to render resource names, link copyable.
  • In memo's resource list, do not display resource thumbnail, if it's already embedded.
aaa.mp4

this will close #4694 and #4300

@lyonbot lyonbot requested a review from boojack as a code owner May 18, 2025 07:44
@lyonbot lyonbot changed the title feat: paste to insert image or files feat: paste to insert image or files into text content May 18, 2025
@lyonbot lyonbot force-pushed the feat/paste_as_link branch from 28360e6 to 14dc8a9 Compare May 18, 2025 08:10
@timedilatesme
Copy link

I just saw this PR, Thank you @lyonbot for the implementation. Is it also possible to support HEIC format? I am having issues on my Mac where HEIC files are not properly loading. I've attached a screenshot for how it looks like if I attach images directly from iPhone. If this is more suitable for another PR I'll post it in the Issues section Please let me know.

Screenshot 2025-05-24 at 7 12 16 PM

@lyonbot
Copy link
Author

lyonbot commented May 26, 2025

I just saw this PR, Thank you @lyonbot for the implementation. Is it also possible to support HEIC format? I am having issues on my Mac where HEIC files are not properly loading. I've attached a screenshot for how it looks like if I attach images directly from iPhone. If this is more suitable for another PR I'll post it in the Issues section Please let me know.

@timedilatesme I think it's better to support HEIC in a new issue / PR.

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

Successfully merging this pull request may close these issues.

paste image or file, auto insert as markdown
3 participants