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

When the container is a list, the list is not added to the table #1254

Closed
seonim-ryu opened this issue Nov 9, 2020 · 0 comments
Closed

When the container is a list, the list is not added to the table #1254

seonim-ryu opened this issue Nov 9, 2020 · 0 comments

Comments

@seonim-ryu
Copy link
Member

seonim-ryu commented Nov 9, 2020

Describe the bug

When the container element of the Editor is a list, there is a problem that the container element is changed when a list is added to the table.

<ul>
  <li>
    <!-- editor's container element -->
    <div id="editor"></div>
  </li>
</ul>

To Reproduce

Steps to reproduce the behavior:

  1. The editor container element is wrapped in a list (ul) and then an editor instance is created.
  2. Add a table in WYSIWYG.
  3. Adds a list (ol, ul, task) to the cell of the table body or table header.
  4. The list is not added to the table or the container element is changed.

Expected behavior

The list should be added normally and the type should be changed in the table.

Screenshots

AS-IS

wrong

TO-BE

correct

Desktop (please complete the following information):

  • OS: All
  • Browser All
  • Version 2.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant