Skip to content

[Bug] Pasting code does not put it inside the bloc #261

@cripsito

Description

@cripsito

Bug Description

While adding a code componet /code
I'm tying to put code by pasting it from chatgpt, or even other sources, the code gets paste below the bloc of code, not inside

Steps to Reproduce

trying multiple times, I dont get it to paste it inside, it seems I can only type manualy inside.

Expected Behavior

When you do a paste, by cmd + v or even right-click -> paste, it should paste the code where the cursor is. or then what is the purpuse of having a code component, if you can't actually paste code

Browser and Version

Edge

AppFlowy Version(s)

Web

Screenshots

Image

Logs and Console Output

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions