user2090618
user2090618

Reputation: 55

How to set minimum width for CKEditor?

My website is being built to support mobile as well. The problem is that I need to set the minWidth of the editor in order to be able to put the one I want.

Can anybody guide me or tell me what config to add in order to set minimum width for the editor?

Upvotes: 0

Views: 548

Answers (1)

Maximillian Laumeister
Maximillian Laumeister

Reputation: 20359

The two config options you are looking for are config.width and config.resize_minWidth.

So for instance, to start the editor at 500px wide and prevent it from being resized any smaller:

config.width = 500;
config.resize_minWidth = 500;

Upvotes: 3

Related Questions