nhn / tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
http://ui.toast.com/tui-editor
MIT License
17.21k stars 1.75k forks source link

Copy a html document to TUI save to server, after edit contents issue #2870

Open hannahJeong opened 1 year ago

hannahJeong commented 1 year ago

Summary

I tried several times to write and edit the content on TUI there were issues with the code block it didn't map to a code tag correctly so I got this issue on my next.js project

Screenshots

If applicable, add screenshots to help explain your question.

스크린샷 2022-11-28 오후 5 09 39

Version

"@toast-ui/react-editor": "^3.2.2",

Additional context

Add any other context about the problem here.

jwlee1108 commented 1 year ago

Can you tell me what form of HTML you copied? (FYI, We don't support SSR yet.)

hannahJeong commented 1 year ago

@jwlee1108 I tried to copy HTML contents like blog articles to toast UI editor, I found the problem was when I tried to copy the contents which included code block or inline code things caused error