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
I made CodeSandbox example where "destination" property has been patched with shadow root - it's worked as expected.
So we should consider there "shadowRoot" option from config.
The text was updated successfully, but these errors were encountered:
Jodit Version: 3.18.9
Browser: Chrome/FF
OS: Windows
Is React App: True
Code
CodeSandbox
Expected behavior:
If you try to copy styled text from some site and paste it in editor, "Paste as HTML" Dialog should be shown inside Shadow DOM.
Actual behavior:
Dialog is rendered inside body (instead of Shadow DOM root) without styles.
The reason is in Dialog "destination"
jodit/src/modules/dialog/dialog.ts
Line 99 in 5278d95
I made CodeSandbox example where "destination" property has been patched with shadow root - it's worked as expected.
So we should consider there "shadowRoot" option from config.
The text was updated successfully, but these errors were encountered: