Disable text-wrap: balance or pretty in editing mode AnnotatedTextProperty

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
css, typescript
Domain
frontend, web-dev

Research direction

No source file or test is named. Start by locating AnnotatedTextProperty and the existing handling that disables text-transform while editing; then trace how text-wrap balance or pretty affects the editing view. Done means those wrapping modes no longer surprise users during editing, with the reported two-line example behaving as expected.

Written by the indexing model from the issue text.

Description

We are already opionated that e.g. text-transform: uppercase should not be active if the annotated text property is edidet.
Should we extend this to other properties like text-wrap: balance

Here's an example: where while editing it wraps the text in two lines, which feels surprising as you write the text.

Image
Dominant language
TypeScript
Stars
691
Forks
20
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from michael/svedit

All issues in michael/svedit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.