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
We work with WebComponents with a Shadow DOM, and we already have a SunEditor v2 inside one of these components. This worked perfectly, but we are now looking to update to version 3, and have an issue with the dropdowns from the plugins (like align, fontColor, table, ...) not being rendered correctly.
The reason being: The CSS for the SunEditor is in the Shadow, but the dropdowns are attached to the end of the body. Is it possible to change the render root of all popups, dropdowns and alike, so they are correctly drawn in the Shadow, rather than being attached at the end of the body?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
We work with WebComponents with a Shadow DOM, and we already have a SunEditor v2 inside one of these components. This worked perfectly, but we are now looking to update to version 3, and have an issue with the dropdowns from the plugins (like align, fontColor, table, ...) not being rendered correctly.
The reason being: The CSS for the SunEditor is in the Shadow, but the dropdowns are attached to the end of the body. Is it possible to change the render root of all popups, dropdowns and alike, so they are correctly drawn in the Shadow, rather than being attached at the end of the body?
Example Code for reproducing the behaviour:
result:
All reactions