[bug]: Copying text from issue description carries unwanted HTML
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
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
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
- Create a new issue on plane community 0.25.2
- Create a table and add some text to any cell "test string"
- Select only the text and copy it
- Paste it on any test area outside plane (address bar, web form, text editor...)
- 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
same probleme
Hey folks, https://github.com/makeplane/plane/pull/6675 would solve all these issues 🙌
Hi @hpflatorre This issue is now resolved, please upgrade to our latest version v0.26.0