Copying raw text includes a bunch of QT formatting rules

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

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

評価

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

調査の方向性

Start by reproducing the copy behavior in the editor and inspect the editor's clipboard handling; the issue does not name a file or test. Compare pasting copied text into a browser with the Markdown source. Done means copying produces raw text without the extra QT formatting rules.

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

説明

Help wanted Scripting Type: Feature
Expected behaviour

Copying the text from the editor should copy it as raw text without formatting rules (since rules are defined as markdown)

Actual behaviour

When I copy from the editor into a web browser (e.g. a blog post) I get a bunch of extra tags that seem to contain QT formatting rules for every paragraph.

Comments

Since it's a markdown text it's assumed that there shouldn't styling rules copied as well since the rules are defined in the text data. It's also not a rich text editor so even if it wasn't markdown then these rules shouldn't be included on copy.

主要言語
C++
スター
5.9k
フォーク
499
平均マージ
4時間 4分
マージ済み PR(30日)
3

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

pbek/QOwnNotes のほかの issue

pbek/QOwnNotes の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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