xdan / jodit

Jodit - Best WYSIWYG Editor for You
https://xdsoft.net/jodit/
MIT License
1.61k stars 341 forks source link

Menu Item Popups Hidden when Jodit is inside an <dialog> element #1146

Open bobgager opened 4 weeks ago

bobgager commented 4 weeks ago

Jodit Version: 4.xxxxx

Browser: All OS: Mac (not tested on Windows) Is React App: False

When the Jodit Editor is placed inside an html

element, the various menu item popups (Like font size or font, or whatever) all open up BEHIND the Tried various itterations of setting z-index and nothing worked.

Expected behavior: Menu button popups should open on TOP of the Jodit Editor even when in a

Actual behavior: Menu button popups are opening behind the

element

JClackett commented 3 weeks ago

Also have his using radix dialogs

fabian-mcfly commented 2 weeks ago

I haven't tested it thoroughly, but it appears to work without issues when you set the "shadowRoot" option to the <dialog> element Jodit is in.