Feature request: multiline image caption
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 659
- Forks
- 133
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 110
Description
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.
- The
- 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).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is identified in the issue. Start by locating the image-caption HTML input and the printed-layout handling, then compare the textarea and caption text-block alternatives. Done means captions support wrapping and newlines, resize while editing and before printing, and retain the intended caption behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100