SalesforceLabs / SalesforceLabs/FlowEmailComposer

Template body is deleted when editing

Open
#29 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Apex
Stars
44
Forks
29
PR merge metrics
No merged PRs in 30d

Description

When I select a template in the email composer it is possible to add more text to the email, but when I press backspace the whole body is deleted. It seems this only happens on templates with merge fields. When I select a template without merge fields I can delete characters from the body. Sending the email works fine, it's only a problem when I want to add and delete something from the email body

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Reproduce the problem in the email composer using a template with merge fields, then compare it with a template without merge fields. Confirm that pressing backspace removes only the selected characters rather than the whole body, while sending still works correctly.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.