AppFlowy-IO / AppFlowy

Bring projects, wikis, and teams together with AI. AppFlowy is an AI collaborative workspace where you achieve more without losing control of your data. The best open source alternative to Notion.
https://www.appflowy.io
GNU Affero General Public License v3.0
57.06k stars 3.73k forks source link

[Bug] Formating not preserved when copy / paste outside appflowy #6566

Open henri9813 opened 5 days ago

henri9813 commented 5 days ago

Bug Description

Hello,

Consider this document

# Title

## Title 2

**Appflowy** is `great` ! 

When I copy this outside, I want the format to be persevered by keeping the ` and the * etc....

How to Reproduce

Create block code or others things, paste them elsewhere, the backtick or format keys are not preserved

Expected Behavior

the ## , ` are preserved etc...

Operating System

MacOS

AppFlowy Version(s)

0.7.1

Screenshots

No response

Additional Context

No response

emmggi commented 4 days ago

I just tried copying content (on v0.7.1) of a page and pasting it into a LibreOffice Writer document and I can confirm that formatting is preserved.

What you're asking for is copying markdown syntax. You can export the page as markdown and open the file OR use Share > Export as > Copy to clipboard to get what you want.

henri9813 commented 2 days ago

Hello,

Indeed you right !

It's unusual for me to copy something into a "modern" text editor.

I used to copy from appflowy to a Github issue for example, or whatever forum available in which, markdown is supported, or at least

But my need is real. I need to a whole page or specific blocs by COPY / PASTE easily.

PS: This doesn't exists on macOS.

PS: I tried to copy this:

image

into word, an I got

image

It works only when I choose: "preserve text only", but I don't care at all about copying to word :P