toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
https://affine.pro
Other
40.49k stars 2.62k forks source link

​Self-host cannot copy code block data #6575

Closed LIHAQ closed 1 month ago

LIHAQ commented 5 months ago

What happened?

Self-host cannot copy code block data image

Distribution version

Web (affine.fail)

What browsers are you seeing the problem on if you're using web version?

Microsoft Edge

Are you self-hosting?

Relevant log output

No response

Anything else?

No response

affine-issue-bot[bot] commented 5 months ago

Issue Status: 🆕 *Untriaged

*🆕 Untriaged**

The team has not yet reviewed the issue. We usually do it within one business day. Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.

JimmFly commented 5 months ago

Can this issue be reproduced in blocksuite playground?

LIHAQ commented 5 months ago

Can this issue be reproduced in blocksuite playground?

Yes, I found that because of the MD file I exported from flowus, the type of the code block would default to Plain, and when imported into AFFINE it would not be able to be copied.

image image