Skip to content

Switch to wysiwyg mode change markdown syntax to html tag #2708

@kdby-io

Description

@kdby-io

Describe the bug

hello **world**. hello *world*.

WIth above text in markdown mode, when I switch mode to wysiwyg and turn back to markdown, the text change to

hello <strong>world</strong>. hello <em>world</em>.

To Reproduce

Steps to reproduce the behavior:

  1. make bold or italic syntax on markdown mode
  2. switch mode to wysiwyg
  3. turn back to markdown mode
  4. see the content changed

Expected behavior

Switching mode does not affect to the content.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: chrome 104.0.5112.102
  • "@toast-ui/react-editor": "^3.2.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions