Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Using ~ in notes are prepended with \ when copied

オープン
#1,711 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, markdown
領域
content, frontend

調査の方向性

まず、~ を含むノートを使ってノートエディターで問題を再現し、次にそれをプレーンテキストエディターにコピーして、貼り付けたテキストと元のテキストを比較します。JavaScript のノートフロントエンドでコピー処理の経路を追跡し、コピーされたノートテキストが先頭にバックスラッシュを付加せず ~ を保持することを確認します。

索引モデルが issue の本文から書いたものです。

説明

bug need to reproduce

Please make a clear and concise description of what the bug is.

Notes containing a ~ and copied are pasted as \~ with a prepended \

Steps to reproduce

1.create a note with a ~
2.copy the note
3.paste in a text editor

Expected behaviour

Note text is pasted as is

Actual behaviour

all ~ are prepended with a \

Server

Please complete the following information.

  • Nextcloud Server version:
    • Nextcloud 32.0.3
  • Operating system and version:
    • #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1~bookworm (2025-09-16)
  • Web server and version:
    • Server version: Apache/2.4.65 (Debian)
  • Reverse proxy and version:
    • nginx version: openresty/1.27.1.2
  • PHP version:
    • PHP 8.3.29 (cli) (built: Dec 29 2025 23:29:58) (NTS)
  • Is this the first time you've seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • prob direct after installation
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • OMV Container
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • nope

Nextcloud configuration:

``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "version": "32.0.3.2", "loglevel": 2, "log_rotate_size": 262144, "maintenance": false, "maintenance_window_start": 3, "default_locale": "DE_CH", "default_phone_region": "CH", "datadirectory": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "password": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "upgrade.disable-web": true, "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "mysql.utf8mb4": true, "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbname": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "dbtableprefix": "oc_", "htaccess.RewriteBase": "\/", "trusted_domains": [ "srv-nas-pi.kingma:8080", "office.kingma.ch", "office.king.ma" ], "overwrite.cli.url": "https:\/\/office.kingma.ch", "overwriteprotocol": "https", "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/custom_apps", "url": "\/custom_apps", "writable": true } ], "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smpttimeout": 30, "installed": true, "mail_smtpauth": true, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "ssl", "app_install_overwrite": [] } } ```

Client

Please complete the following information.

  • Browser (incl. version): Firefox 14
  • OS: Fedora 43
主要言語
JavaScript
スター
738
フォーク
162
平均マージ
2時間 32分
マージ済み PR(30日)
41

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/notes のほかの issue

nextcloud/notes の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。