tui.editor
tui.editor copied to clipboard
Switch between markdown and wysiwyg mode cause the page to jump. to the cursor position
Describe the bug
When We switch between the markdown and WYSIWYG the page jumps to the cursor position.
To Reproduce
Steps to reproduce the behavior:
- Click on either markdown or WYSIWYG button'
- you can see the error as the page jumps to the curser location
Expected behavior
The Page should be at the position where it is. It should not scroll
Video
screencast-nimbus-capture-2022.08.05-22_17_08.webm
Desktop (please complete the following information):
- OS: Windows 10
- Browser: ALL
- Version: on all
Additional context
Please I need a solution for it.