tui.editor
tui.editor copied to clipboard
Losing formatting when switching between markdown and WYSIWYG (HTML)
Describe the bug
If you go to WYSIWYG and press enter x amount of times let's say 5 and go to markdown it will have 5 <br/>
tags, if you then go back to WYSIWYG mode and then again back to markdown mode it now has 4 <br/>
tags.
When switching between the modes the editor removes 1 <br/>
tag every time it converts from markdown to HTML and vice versa.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Press 5 "enter" keys
- Switch back and forth between WYSIWYG and Markdown mode
Expected behavior
I expect the conversion between the two to be stable and not remove stuff
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version Live site demo
Additional context
In general, there are problems with the conversion between markdown/WYSIWYG(HTML) mode
bump
bump
bump
Bump
bump