Inline picture pastes in Webmail set centre justification

Open Beginner friendly
#260 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
frontend

Research direction

Start at the webmail message editor’s image paste handling and follow how it applies image formatting to the current content. Reproduce by typing left-aligned text, pasting an inline image, then typing more text. Done when the image and subsequent text keep the justification set by default or by the user.

Written by the indexing model from the issue text.

Description

Describe the bug

During email creation using the editor, inline picture pastes in Webmail set centre justification to that image and all following entries (text too).

To Reproduce

Steps to reproduce the behavior:

  1. Click "New Message"
  2. Type something, it will be left justified.
  3. Insert an image
  4. Now everything will be centre justified.

Expected behavior

Stick to the justification set by default/the user.

Actual behavior

Inline picture pastes in Webmail set centre justification to that image and all following entries (text too)

Screenshots

System

  • OS: Windows 11/Arch Linux
  • Browser Version Firefox 160
Dominant language
TypeScript
Stars
121
Forks
11
Avg merge
1d 3h
Merged PRs (30d)
11

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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 thunderbird/stormbox

All issues in thunderbird/stormbox

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.