You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
When using .find() of jQuery in the editor and changing it to querySelectorAll(), the behavior changed. jQuery searches for children from the currently selected element, but querySelectorAll() refers to the entire node list. So, when using the descendant combinator, there is an issue that behaves differently as follows.
Describe the bug
When the editor's parent container is a list, the list disappears from WYSIWYG.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The list should remain entered.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
When using
.find()
of jQuery in the editor and changing it toquerySelectorAll()
, the behavior changed. jQuery searches for children from the currently selected element, butquerySelectorAll()
refers to the entire node list. So, when using the descendant combinator, there is an issue that behaves differently as follows.To solve this problem, the
:scope
pseudo-class can be used, but since IE is not supported, it is solved by logic.The text was updated successfully, but these errors were encountered: