jspreadsheet / jspreadsheet/ce

Can't copy paste dropdown with html entities

Open
#1,459 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
7.2k
Forks
890
PR merge metrics
No merged PRs in 30d

Description

Hi

This dropdown :

{
	type: 'dropdown',
	source: ['<', '>'],
}

can't be copy/pasted because &lt; goes to clipboard and is not recognized as a valid value.
If defined as source &lt; and other value type like \x3c (UTF-8) aren't displayed once set.

Using Jsuite format {value: '&lt;', text: '<'} doesn't seem to work.

Is there a workaround ?

Thanks

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.

Research direction

Reproduce the dropdown using source values '<' and '>' and try copying and pasting them, then compare this with HTML-entity and Jsuite-format values. Trace the dropdown's copy/paste and value-display handling; done means the values can be copied, pasted, and displayed correctly, or the supported workaround is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.