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
Hi,
thank you for this great editor, just started integrating it into my project and I have noticed that the responsive feats only work when resizing / loading / zooming my browser window, but I have my forms inside a Split.js container that can be resized by user.
My question is how can I trigger the resize function manually to let the editor know that the form width has changed so it can recalculate what buttons should be visible based on the editor width.
Here is a screenshot how the editor looks when changing the width by browser resize and element resize.
I can set a ResizeObserver on my form to catch all resizes, just need a way to let the editor know it's width changed.
Thanks
The text was updated successfully, but these errors were encountered:
Version
"suneditor": "^2.42.0",
Additional context
Hi,
thank you for this great editor, just started integrating it into my project and I have noticed that the responsive feats only work when resizing / loading / zooming my browser window, but I have my forms inside a Split.js container that can be resized by user.
My question is how can I trigger the resize function manually to let the editor know that the form width has changed so it can recalculate what buttons should be visible based on the editor width.
Here is a screenshot how the editor looks when changing the width by browser resize and element resize.
I can set a ResizeObserver on my form to catch all resizes, just need a way to let the editor know it's width changed.
Thanks
The text was updated successfully, but these errors were encountered: