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

Request: importing html images as attached instead of external reference #826

Open
maphew opened this issue Dec 22, 2024 Discussed in #527 · 0 comments
Open

Request: importing html images as attached instead of external reference #826

maphew opened this issue Dec 22, 2024 Discussed in #527 · 0 comments

Comments

@maphew
Copy link

maphew commented Dec 22, 2024

Discussed in https://github.com/orgs/TriliumNext/discussions/527

Originally posted by maphew October 27, 2024
Web pages saved with Chrome or Firefox are as Foobar.html and any referenced images, css, js, ... are saved in Foobar_files sub-folder. When such a page is wrapped in a zip and imported into Trilium the result is a Note, a Note-folder, and the contents of the _files sub-folder as attachments to Note-folder:

An imported html file with note-folder and image

If the same note is created interactively in Trilium and using the Insert Image or attachment features the images and attachments are hidden from the Table of Contents view, only the Note is shown.

Identical note, but only 1 ToC item

From a navigation and node management point of view the interactive result is much preferred -- we only have one item to see and manipulate. It's much less cluttered.
...snip...

So this feature request is for import html with images to be treated as if the media were Ctrl-V pasted, and saved as attached, the same as writing the note interactively. (And not just images, any files and media that can be pasted into a note.)

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