Skip to content
Discussion options

You must be logged in to vote

That width comes from CSS, so you can override it. The preview opens in a Jodit dialog, so target its panel in your stylesheet — something like .jodit-dialog__panel { min-width: 0; width: 90vw; max-width: 900px; } (bump specificity if your reset doesn't win). That drops the forced 1024px and the horizontal scroll.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xdan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants