Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Paste PDF files with preview by default + add option to toggle mode

Đang mở
#8,745 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@hiobjan đang làm issue này rồi.

Từ ngày 27/7/2026.

  • #8916 của @hiobjan — đã đóng, không merge

Đánh giá

Issue này chưa được đánh giá.

Mô tả

enhancement
Problem / Usecase

When adding PDF's to a text via drag and drop, no preview window is generated. It also isn't possible to optionally enable the preview. There isn't even a "three-dot-menu" when the PDF is embedded just as a file.

When adding a PDF via the smartpicker, the PDF is embedded into the text with a preview window.

This is not satisfactory, because adding files via drag and drop is a very common usecase, I think.

Suggested solutions
  • Make embedding with preview the default, for either of the two methods of pasting a PDF
  • Make it optional as a point in the "preview options" in the three-dot-menu
  • Show the menu for embedded plain files aswell
Further ideas
  • Maybe it could be nice to have a context menu appear when inserting a file by drag and drop, that shows two clickable options: Generate preview window / paste as a simple file
Examples
Inserted by drag and drop
Image
Inserted with smartpicker

Image #/

Three-dot-menu
Image
Ngôn ngữ chính
JavaScript
Star
665
Fork
133
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
172

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/text

Tất cả issue của nextcloud/text

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.