Chinese can not wraps lines automatically
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.5k
- Forks
- 374
- PR merge metrics
- No merged PRs in 30d
Description
- I have tried with the newest version of editly:
npm i -g editlyornpm i editly@latest - I have tried ffmpeg newest stable version
- I have searched for existing issues
json5:
{
outPath: './chinese.mp4',
clips: [
{
duration: 3,
layers: [
{ type: 'image', path: './assets/img1.jpg'},
{ type: 'subtitle', text: '这是一段文字,这是一段文字来试试文字的切换这是一段文字,这是一段文字来试试文字的切换这是一段文字,这是一段文字来试试文字的切换', backgroundColor: 'rgba(0,0,0,0.5)' },
]
}
]
}
Here is the result:

Contributor guide
No contributing guide indexed for this repository
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
Start by running the provided editly configuration with the Chinese subtitle text and compare the generated video with the linked result. Then trace the subtitle layer's text-wrapping behavior; done means long Chinese text wraps into multiple lines automatically without the subtitle being clipped or remaining on one line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- audio-video-rtc, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100