New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An extra space is added after three backticks when switching from WYSIWYG to Markdown #186
Comments
@yihui Sorry for late reply. This issue does not occur in the latest version so close it. |
No worries. Thank you! BTW, I guess the documentation website still uses an old version, since the issue is currently still reproducible at https://nhnent.github.io/tui.editor/api/latest/tutorial-example01-basic.html. |
@yihui I just reproduced that a blank line is added before the closing backticks. Currently it does not occur but issue that an extra space is inserted before |
This issue seems to be resolved. Currently I can't reproduce. So close the issue. If you can reproduce it, I'd like to upload a screenshot with gif. |
It is still reproducible, at least on this page: https://ui.toast.com/tui-editor/ (Click "All Extensions") Markdown modeSwitch to WYSIWYG modeSwitch back to Markdown modeNow you see the extra space: |
@yihui |
Okay. Thank you very much anyway! |
Version
1.1.0
Test Environment
Google Chrome on macOS, with the example https://nhnent.github.io/tui.editor/api/latest/tutorial-example01-basic.html
Current Behavior
Add a code block to the editor:
Switch to the WYSIWYG mode, then switch back the Markdown mode. An extra space is inserted bewteen the three backticks and
js
:And note that a blank line is also added before the closing fence (the last three backticks), which is also unnecessary.
Expected Behavior
No spaces after the three backticks.
The text was updated successfully, but these errors were encountered: