- Download and extract the plugin
.zip
archive - Copy the plugin files to the
plugins
folder of your CKEditor 4 installation. The plugin must be placed in a sub-folder with namepagewidth
(exact match). - Enable the plugin. Use the extraPlugins setting to add the plugin to your configuration:
config.extraPlugins = 'pagewidth'
For more information, check the CKEditor documentation
The following configuration options are available for this plugin:
config | Default value | Description |
---|---|---|
pagewidth_minZoom | 10 |
The minimal zoomvalue (in percentage) available for the user. Only numbers allowed. |
pagewidth_maxZoom | 400 |
The maximal zoomvalue (in percentage) available for the user. Only numbers allowed. |
pagewidth_initialZoom | 100 |
The initial zoomvalue (in percentage) when the CKEditor instance initiates. Use fullwidth to zoom until pagewidth matches ckeditor container. |