NodeBB / NodeBB/nodebb-plugin-composer-quill

Uploaded image isn't counted towards minimum post length

Open
#271 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
19
Forks
14
Avg merge
1m
Merged PRs (30d)
8

Description

When trying to save a post with images and no text, I get a "content-too-short" error.
In contrast, the default composer allows saving such a post, which I believe is the expected behavior.
As a workaround, I set the minimum post length to 0, but in the long run this isn't desirable.

Contributor guide

No contributing guide indexed for this repository

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

Reproduce an image-only post with the configured minimum post length and compare its behavior with the default composer. Trace where the Quill composer rejects the post as "content-too-short"; done means image-only posts can be saved without requiring the minimum length to be set to 0.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.