-
Notifications
You must be signed in to change notification settings - Fork 742
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
Set contentWidth to 100% #404
Comments
I understand you're looking to maintain a 100% content width in the Unlayer Email Editor, specifically when working within the Body options. Can you try to passing the set body values in the onReady event:
|
Hi @officialbatman, I tried passing only the .setBodyValues on onReady event and I still get the issue
record-2024-05-29_10.40.18.mp4 |
I tried clicking the Was the maximum |
Can you try contentWidth: 'inherit' |
Thanks @crezol2k setting contentWidth to |
Hello,
I'm trying to set the default
contentWidth
into 100%. According to here, you can set it using the.setBodyValues
. It works initially however, when I go to theBody
options, it reverts back to500px
(dafault).I've also tried adding some
eventListener
on design:updated however, the issue still persist with the only changes is, it returns to 100% once I leave the Body optionsIs there a way I can retain the 100% contentWidth even if I'm in Body options?
Here's my code, its in nextjs .tsx
Here are some screenshots
Thank you :)
The text was updated successfully, but these errors were encountered: