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

Notes edit view is showing raw markdown incorrectly

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

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
frontend, web-dev

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện vấn đề trong giao diện web của Notes theo các bước đã báo cáo cho tiêu đề, heading và subheading, sau đó so sánh chế độ xem chỉnh sửa với Markdown đã tải xuống và bản xem trước. Được coi là hoàn tất khi chế độ xem chỉnh sửa hiển thị Markdown thô một cách nhất quán, với các ký tự Markdown được làm nổi bật như mong đợi, trong khi bản xem trước và tệp đã tải xuống vẫn chính xác.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug feature: editor need to reproduce

Steps to reproduce

  1. Create a new note using the web UI
  2. Add a title, heading and subheading
  3. Notice how additional lines are added in the edit view
  4. View the preview, notice how this looks correct
  5. Download the file and look at in a text editor
  6. Notice how this looks as expected
Expected behaviour

The edit view has previously shown the raw markdown but with the markdown characters highlighted in grey.

Actual behaviour

Additional lines are now added which are confusing and do not match the raw markdown.
I have tested this on multiple Windows PC's running both Firefox and Edge and am seeing the same issue.
This appears to have occured since I updated a very old instance of Nextcloud to the version listed below.
I was at least two versions behind.

Screenshots

Gif showing the issue
Image

Downloaded file in notepad showing the raw markdown is as expected.
Image

Server

Please complete the following information.

  • Notes app version: 4.13.0
  • Nextcloud version: Nextcloud Hub 25 Autumn (32.0.6)
  • OS: NextcloudPi v1.56.0 (Debian GNU/Linux 12. 6.1.21-v8+ (aarch64))
  • Web server: Unknown
  • PHP version: Unkonwn
  • Database: MariaDB

Nextcloud configuration:

{ "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": { "0": "localhost", "5": "nextcloudpi.local", "7": "nextcloudpi", "8": "nextcloudpi.lan", "1": "192.168.1.66", "11": "***REMOVED SENSITIVE VALUE***", "4": "***REMOVED SENSITIVE VALUE***", "12": "***REMOVED SENSITIVE VALUE***", "3": "***REMOVED SENSITIVE VALUE***", "": "***REMOVED SENSITIVE VALUE***", "14": "nextcloudpi" }, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "32.0.6.1", "overwrite.cli.url": "https:\/\/digitaljoat.no-ip.org\/", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0, "timeout": 0, "password": "***REMOVED SENSITIVE VALUE***" }, "tempdirectory": "\/media\/USBdrive\/ncdata\/tmp", "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "overwriteprotocol": "https", "loglevel": "2", "log_type": "file", "maintenance": false, "logfile": "\/media\/USBdrive\/ncdata\/nextcloud.log", "jpeg_quality": 60, "preview_max_x": 2048, "preview_max_y": 2048, "theme": "", "data-fingerprint": "7c55a7e197b64b9966ffcf606dd8c9a5", "trusted_proxies": "***REMOVED SENSITIVE VALUE***", "mail_sendmailmode": "smtp", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpauth": 1, "mail_smtpsecure": "ssl", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "memories.db.triggers.fcu": true, "memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-aarch64-glibc", "memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-aarch64", "maintenance_window_start": 3, "default_phone_region": "GB" } }

Client

Please complete the following information.

  • Browser (incl. version): Firefox 148 Edge 145.0.3800.82 (Official build) (64-bit)
  • OS: Windows 11

Log files

None

Ngôn ngữ chính
JavaScript
Star
739
Fork
161
Merge trung bình
9 giờ 38 phút
Pull request đã merge (30 ngày)
39

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/notes

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

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.