-
Notifications
You must be signed in to change notification settings - Fork 129
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
onModelChange callback not working when using FroalaEditorComponent inside react web component with shadow root #388
Comments
I am also facing the same issue. |
Any update on this? this is very crucial for us!! When I use fullPage boolean prop as true all the css that we have written already gets affected. how can we make froala editor work seamlessly inside a shadowDOM? |
Any update on this? This is hurting us real bad. |
Were you able to find a solution for this? |
It looks like Froala may not support being rendered in a Shadow Root. Here's a small self-contained minimal example that shows it not working as expected: https://jsfiddle.net/m2z4ys8a/1/ This shows that this exists in the core library, and isn't limited to the React wrapper. |
Support for Shadow DOM in the WYSIWYG editors is limited, and it may lead to unexpected behavior and styling issues, as you have experienced. While loading the required styles in your app is a step in the right direction, there are certain limitations when it comes to the proper functioning of the editor within the Shadow DOM environment. |
Same issue here as well. What is it that prevents Froala from working properly in a Shadow DOM? |
I have a react web component with shadow root, when I open the froala editor inside it by initializing editor FroalaEditorComponent everything works except for onModelChange function , this function does not return in model. it is always undefined.
The text was updated successfully, but these errors were encountered: