Skip to content
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

Auto-escaping in WYSIWYG mode causes issues #2099

Closed
kkstoklund opened this issue Dec 7, 2021 · 2 comments
Closed

Auto-escaping in WYSIWYG mode causes issues #2099

kkstoklund opened this issue Dec 7, 2021 · 2 comments
Labels
Milestone

Comments

@kkstoklund
Copy link

kkstoklund commented Dec 7, 2021

Describe the bug

When using WYSIWYG mode it auto-escapes _ and * characters.
This means that links will break if it contains underscore (which is pretty common for links)

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://ui.toast.com/tui-editor

  2. In the demo editor on this page there is already a link - add '_test' somewhere in the linke (while in markdown mode)
    for example:
    Screen Shot 2021-12-07 at 16 35 10

  3. Switch to WYSIWYG mode

  4. Switch back to markdown mode

  5. Now the link looks like this:
    Screen Shot 2021-12-07 at 16 37 47

Expected behavior

I would expect that WYSIWYG mode does not auto-escape the content at all.
Is there a way to completely disable this?

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: 3.1.1
@kkstoklund kkstoklund added the Bug label Dec 7, 2021
@js87zz
Copy link
Contributor

js87zz commented Dec 9, 2021

@kkstoklund
This issue will be fixed in next release.

@js87zz
Copy link
Contributor

js87zz commented Dec 27, 2021

@kkstoklund
The bug has been fixed in v3.1.2. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants