plane icon indicating copy to clipboard operation
plane copied to clipboard

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

Open hpflatorre opened this issue 9 months ago • 2 comments

Is there an existing issue for this?

  • [x] 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 avatar Mar 17 '25 20:03 hpflatorre

same probleme

Cousclou avatar Mar 19 '25 21:03 Cousclou

Hey folks, https://github.com/makeplane/plane/pull/6675 would solve all these issues 🙌

Palanikannan1437 avatar Mar 20 '25 10:03 Palanikannan1437

Hi @hpflatorre This issue is now resolved, please upgrade to our latest version v0.26.0

pushya22 avatar May 01 '25 10:05 pushya22