nextcloud / nextcloud/text

Description of pasted image should be empty by default

Open
#4,665 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement good first issue
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Is your feature request related to a problem? Please describe.
When you past an image it will set image.png or image (x).png as the default description. This is not useful in my opinion as the file name is irrelevant (especially because it is autogenerated).

Describe the solution you'd like
The image description should be empty by default.
The file name could still be displayed as a hint if no description is set, but not be set as the value.

Describe alternatives you've considered
In my use case it would make sense if the image description is the nearest heading by default, but i assume that is not useful for everyone.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the editor's pasted-image handling and how it assigns the image description. Verify that pasted images have an empty description by default while the autogenerated filename remains available only as a hint, and check the related editor behavior manually.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.