Trait dosamigos\ckeditor\CKEditorTrait
Implemented by | dosamigos\ckeditor\CKEditor, dosamigos\ckeditor\CKEditorInline |
---|
CKEditorTrait has common methods for both CKEditor and CKEditorInline widgets.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$clientOptions | array | The options for the CKEditor 4 JS plugin. | dosamigos\ckeditor\CKEditorTrait |
$preset | string | The toolbar preset. | dosamigos\ckeditor\CKEditorTrait |
Protected Methods
Method | Description | Defined By |
---|---|---|
initOptions() | Initializes the widget options. | dosamigos\ckeditor\CKEditorTrait |
Property Details
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.
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
Method Details
Initializes the widget options.
This method sets the default values for various options.
protected void initOptions ( ) |