nhn / tui.editor

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

When switch between Markdown and WYSIWYG gives me a different look #2859

Open MihailoSepsinac opened 1 year ago

MihailoSepsinac commented 1 year ago

When switch between Markdown and WYSIWYG and go back to Markdown gives me a different rendering.

For example

First look like this:

Screenshot from 2022-11-21 10-41-27

And then:

Screenshot from 2022-11-21 10-41-49

Also when use initialEditType: 'wysiwyg' for some file give me error:

Screenshot from 2022-11-21 13-53-48

if markdown is initial edit type then show text, but when switch tabs between markdown and wysiwyg show me this error.

jwlee1108 commented 1 year ago

* and - are available when generating the Bullet List. However, when it is switched from WYSIWYG to Markdown again, we are only converting the delimeter on the list as *.

the problem with the list being combined. Markdown doesn't separate the list with a blank line. It is the Known-Issue.

Can you tell me more about the error reproduction? Are you saying that an error occurs when the initial value is used as that text?

MihailoSepsinac commented 1 year ago

Thanks for your reply, when I click on an item, the editor should appear in a new dialog, but when I try to switch to wysiwyg, this error is displayed

Example:

https://user-images.githubusercontent.com/47823760/204644153-f618cf84-ba60-4d81-a74c-01c6f444a452.mp4

This is the file where the problem occurs, but there are more examples:

example.md