PHP Trait dosamigos\ckeditor\CKEditorTrait

Author: Antonio Ramirez ([email protected])
Datei anzeigen Open project: 2amigos/yii2-ckeditor-widget

Public Properties

Property Type Description
$clientOptions the options for the CKEditor 4 JS plugin. Please refer to the CKEditor 4 plugin Web page for possible options.
$preset the toolbar preset. It can be any of the following: - basic: will load the configuration on presets/basic.php - full: will load the configuration on presets/full.php - standard: will load the configuration on presets/standard.php - custom: configuration will be based on [[clientOptions]]. Defaults to 'standard'. It is important to note that any configuration item of the loaded presets can be overrided by [[clientOptions]]

Protected Methods

Method Description
initOptions ( ) Initializes the widget options.

Method Details

initOptions() protected method

This method sets the default values for various options.
protected initOptions ( )

Property Details

$clientOptions public_oe property

the options for the CKEditor 4 JS plugin. Please refer to the CKEditor 4 plugin Web page for possible options.
See also: http://docs.ckeditor.com/#!/guide/dev_installation
public $clientOptions

$preset public_oe property

the toolbar preset. It can be any of the following: - basic: will load the configuration on presets/basic.php - full: will load the configuration on presets/full.php - standard: will load the configuration on presets/standard.php - custom: configuration will be based on [[clientOptions]]. Defaults to 'standard'. It is important to note that any configuration item of the loaded presets can be overrided by [[clientOptions]]
public $preset