novel icon indicating copy to clipboard operation
novel copied to clipboard

Copying and pasting breaks the format

Open fgatti675 opened this issue 1 year ago • 2 comments

Hi, thanks for an awesome project!

I have realised that if I copy a portion of the editor, and paste it back in the editor, it works as expected (with the correct format). If I paste it in vs code I get markdown, which is great:

## Introducing Novel

[Novel](https://github.com/steven-tey/novel) is a Notion-style WYSIWYG editor with AI-powered autocompletion. Built with [Tiptap](https://tiptap.dev/) + [Vercel AI SDK](https://sdk.vercel.ai/docs).

### Installation

```
npm i novel
```

But if I copy that code from vs code, and paste it back into novel, it gets pasted as a block code Screenshot 2024-02-05 at 18 33 57

fgatti675 avatar Feb 05 '24 17:02 fgatti675

Any markdown I attempt to paste in from any source does not format properly. It just appears as raw markdown.

jonkurtis avatar Mar 30 '24 03:03 jonkurtis

the same question, have any good idea?

noobakong avatar May 09 '24 09:05 noobakong