# Bug COMMS-1061 - Copying from a document to Github pastes contents twice

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-1061

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Documents, Modules and project features / Text editor / BlockNoteJS |
| Target versions | 18.0.0 |
| Observed in versions | dev |
| Sprint | Sprint 20 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

###   

### Steps to reproduce

1.  Write some text in a document in OpenProject
    
2.  Copy + paste it to a Github comment
    
3.  See it copies **twice:** 1. HTML 2. Plaintext (Markdown)
    
4.  Show preview, see contents twice (no surprise)
    

### What is the buggy behavior?

It should either paste Markdown or HTML, not both. Preferred Markdown.

### What is the expected behavior?

No dupication

###   

## Screenshots

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/attachments/925475/Screenshot_from_2026-10-07_16-11-23.png"></div></figure>

###   

**OpenProject version**

unreleased / dev

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

*   [ ] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [x] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)

<br>
