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

[bug]: Copying text from issue description carries unwanted HTML #6766

Open
1 task done
hpflatorre opened this issue Mar 17, 2025 · 2 comments · Fixed by #6675
Open
1 task done

[bug]: Copying text from issue description carries unwanted HTML #6766

hpflatorre opened this issue Mar 17, 2025 · 2 comments · Fixed by #6675
Assignees
Labels
🐛bug Something isn't working

Comments

@hpflatorre
Copy link

hpflatorre commented Mar 17, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Issue appeared when upgrading the self-hosted community edition from 0.24.0 to 0.25.2

Image

When I select the text inside a cell and copy only the selection "test string"

I get:

<tbody><tr style=""><td colspan="1" rowspan="1" colwidth="450" style="background-color: null; color: null"><p class="editor-paragraph-block" style="text-align: left">test string</p></td></tr></tbody>
</table>

When I select the full cell by double clicking it, and copy

Image

I get:

<p class="editor-paragraph-block" style="text-align: left"> test string </p>

and expected to get only "test string".

This behavior is a big problem in my workflow since I rely on copying lots of text from tables in plane issues to web forms. It is impossible to sanitize the text every time I need to copy a zip code or a phone number.

Steps to reproduce

  1. Create a new issue on plane community 0.25.2
  2. Create a table and add some text to any cell "test string"
  3. Select only the text and copy it
  4. Paste it on any test area outside plane (address bar, web form, text editor...)
  5. The result will be:
<table>
<tbody><tr style=""><td colspan="1" rowspan="1" colwidth="150" style="background-color: null; color: null"><p class="editor-paragraph-block">teste</p></td></tr></tbody>
</table>

Environment

Production

Browser

Google Chrome

Variant

Self-hosted

Version

v0.25.2

@hpflatorre hpflatorre added the 🐛bug Something isn't working label Mar 17, 2025
@hpflatorre hpflatorre changed the title [bug]: Copying text from issue description text carries unwanted HTML [bug]: Copying text from issue description carries unwanted HTML Mar 18, 2025
@Cousclou
Copy link

same probleme

@Palanikannan1437
Copy link
Collaborator

Hey folks, #6675 would solve all these issues 🙌

@pushya22 pushya22 linked a pull request Mar 24, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants