steven-tey / novel

Notion-style WYSIWYG editor with AI-powered autocompletion.
https://novel.sh
Apache License 2.0
13.03k stars 1.06k forks source link

Fix: #58 #243

Closed comolove closed 8 months ago

comolove commented 11 months ago

The picture below is a problem with the automatic completion of the code that was originally implemented

image

If the insertContent contains a markdown language, I know where it doesn't work properly. Therefore, we have setContent and insertContent with parseOptions to complement the fakeEditor separately. I think it would be good to apply only CSS with additional modifications :)

The picture below is a screen operated with the actual modified code.

image
vercel[bot] commented 11 months ago

@comolove is attempting to deploy a commit to the Elegance Team on Vercel.

A member of the Team first needs to authorize it.

haydenbleasel commented 8 months ago

@andrewdoro this may not be an issue once #297 is merged.

andrewdoro commented 8 months ago

I'll close this one in favour #297, for direct streaming in the editor we might have another example