cds-snc / cds-snc/platform-forms-client

Copy-pasting text from a website or other software does not maintain spacing in rich text editor

Open
#7,529 0 comments 0 reactions 0 assignees View on GitHub
:vertical_traffic_light: Minor app enhancement
Dominant language
TypeScript
Stars
46
Forks
16
Avg merge
1d 8h
Merged PRs (30d)
85

Description

## Context

#3781

When we tried to re-create the application for dental on GC Forms to identify how close the product is to supporting a similar type of form, we identified usability issues that could be addressed.

## Description

When copying and pasting from the website, it is difficult to get the spacing correct for headers. e.g.:
image.png

The spacing between "Terms of Use... and Changes to these..." headings are different in the editor; though they appear the same on the test screen.

## Screenshots

image.png

Contributor guide

Open the contributing guide

Research direction

No source file or test is identified in the issue. Start by locating the rich text editor and reproducing the copy-paste behavior with the headings shown in the screenshot. Done means pasted headings preserve their spacing consistently in the editor and on the test screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
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.