Describe the bug
Copying a code block in Anytype and pasting the code here on Discourse, pastes more than just the text.
To Reproduce
Steps to reproduce the behavior:
-
Create code block with content
-
Click on “copy” button in the code block
-
Paste content in Discourse
Result:
.row > * { display: flex; } .header1 { padding: 23px 0px 1px 0px; font-size: 28px; line-height: 32px; letter-spacing: -0.36px; font-weight: 600; } .header2 { padding: 15px 0px 1px 0px; font-size: 22px; line-height: 28px; letter-spacing: -0.16px; font-weight: 600; } .header3 { padding: 15px 0px 1px 0px; font-size: 17px; line-height: 24px; font-weight: 600; } .quote { padding: 7px 0px 7px 0px; font-size: 18px; line-height: 26px; font-style: italic; } .paragraph { font-size: 15px; line-height: 24px; letter-spacing: -0.08px; font-weight: 400; word-wrap: break-word; } .callout-image { width: 20px; height: 20px; font-size: 16px; line-height: 20px; margin-right: 6px; display: inline-block; } .callout-image img { width: 100%; object-fit: cover; } a { cursor: pointer; } kbd { display: inline; font-family: 'Mono'; line-height: 1.71; background: rgba(247,245,240,0.5); padding: 0px 4px; border-radius: 2px; } ul { margin: 0px; } `Test`
Expected behavior
Only the plain text/code should be copied.
System Information:
- OS: Windows / Linux
- Anytype Version: 0.27.0