PHP Trait dosamigos\ckeditor\CKEditorTrait

Author: Antonio Ramirez ([email protected])
Afficher le fichier Open project: 2amigos/yii2-ckeditor-widget

Méthodes publiques

Свойство 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]]

Méthodes protégées

Méthode Description
initOptions ( ) Initializes the widget options.

Method Details

initOptions() protected méthode

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