LivelyKernel / LivelyKernel/lively.next
Ellipsis support in `Text`
Open
@linusha is already working on this.
Since Apr 24, 2024.
✨ enhancement
🧑🎨 renderer
- Dominant language
- JavaScript
- Stars
- 90
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
I experimented with this. We only need to wrap each line in an outer span and set the width of that outer span using `display: block`. Then we can use `text-overflow` on that outer span.
This is only relevant for non-interactive, statically rendered text.
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.
Assessment
This issue has not been assessed yet.