LivelyKernel / LivelyKernel/lively.next

Ellipsis support in `Text`

Open
#1,439 0 comments 0 reactions 1 assignee View on GitHub

@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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.