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

Feature request: multiline image caption

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
静か
技術スタック
javascript
領域
frontend

調査の方向性

Issue では、ソースファイル、テスト、エントリポイントが特定されていません。まず画像キャプションの HTML 入力と印刷レイアウトの処理を見つけ、次に textarea とキャプション用テキストブロックの代替案を比較してください。完了条件は、キャプションが折り返しと改行に対応し、編集中および印刷前にサイズが変更され、意図したキャプションの動作が維持されることです。

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

説明

enhancement

Current situation:

  • Images pasted from the clipboard receive a default caption containing the filename. The caption text may be edited. The caption appears in the printed layout.
  • The caption ist rendered as a HTML <input> field. Word-wrapping to a second line is not possible. Newlines are not possible either.

Feature Request: Multiline captions

  • enable multiline captions

Alternatives:

  • Manual alternative: Remove the text in the input tag and add a paragraph below the image.
    • There's no meta information that this is a caption
    • Margins between image and fake-caption my not be controlled
  • Use a <textarea>Tag:
    • The <textarea> rendered height must be adapted on the fly while typing and before printing.
  • Establish a text block type named «caption» in the brackets menu. Insert this text block containing the filename, instead of the <input> Tag. Allow the section to be deleted or converted to a normal paragraph (as always).
Image
主要言語
JavaScript
スター
665
フォーク
133
平均マージ
1日 17時間
マージ済み PR(30日)
172

環境構築

はじめの一歩

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

nextcloud/text のほかの issue

nextcloud/text の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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