Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy/Paste showing odd behavior within Editor, unexpected tags #922

Closed
NathanSevenSigma opened this issue Jan 19, 2022 · 8 comments
Closed
Labels
Milestone

Comments

@NathanSevenSigma
Copy link

Describe the bug
When attempting to copy text within the editor, the pasted text/format is not exactly as the copied text. There are unexpected tags being added.
Example 1:
<p>test text</p>

--->

<p>test text<br><br>test text<br><br></p>

Example 2:
<p><u><strong>Unit</strong></u></p><ul><li>​Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li><li>Nunc non nisi nulla. Etiam a euismod felis.<br></li></ul>

--->

<p><u><strong>Unit</strong></u></p><ul><li>​Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li><li>Nunc non nisi nulla. Etiam a euismod felis.<br></li><li><br></li></ul>

--->

<p><u><strong>Unit</strong></u></p><ul><li>​Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li><li>Nunc non nisi nulla. Etiam a euismod felis.<br></li><li><br><br>Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br><br><br></li></ul>

To Reproduce
Steps to reproduce the behavior:

  1. Enter some text
  2. Copy text to clipboard
  3. Paste text
  4. Unexpected tags are added

Expected behavior
Text is copied and pasted as is with no unexpected <br> tag added

Screenshots
Example 1:
image
image

Example 2:
image
image
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 97.0.4692.71 (Official Build) (64-bit)

Smartphone (please complete the following information):
N/A

@NathanSevenSigma
Copy link
Author

any update?

@JiHong88 JiHong88 added this to the 2.42.1 milestone Feb 4, 2022
@JiHong88 JiHong88 added the bug label Feb 4, 2022
@charankunjali
Copy link

I am also facing the same issue. Kindly share the approximate date of fix.

@JiHong88 JiHong88 closed this as completed Apr 7, 2022
JiHong88 added a commit that referenced this issue Apr 22, 2022
@JiHong88
Copy link
Owner

The 2.43.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

@NathanSevenSigma
Copy link
Author

Hi @JiHong88, this bug still appears to be manifesting

JiHong88 added a commit that referenced this issue May 15, 2022
@JiHong88
Copy link
Owner

The 2.43.5 version has been updated.
Thank you!!

@NathanSevenSigma
Copy link
Author

NathanSevenSigma commented May 24, 2022

Hi @JiHong88 , can we reopen this issue please?
It appears to resolve issue 2, but only if you copy the whole line. If you copy a word in a bullet text and paste the word you get it pasting as a new bullet point at the end. Issue 1 is still unresolved.

@JiHong88
Copy link
Owner

Issue "2" is will modify it again.
Issue "1" is not reproduced.
A more detailed explanation is needed.

@JiHong88 JiHong88 modified the milestones: 2.43.0, 2.43.7 May 25, 2022
JiHong88 added a commit that referenced this issue May 30, 2022
@JiHong88
Copy link
Owner

JiHong88 commented May 30, 2022

The 2.43.8 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants