Class dosamigos\ckeditor\CKEditorInline

Inheritancedosamigos\ckeditor\CKEditorInline » yii\base\Widget
Uses Traitsdosamigos\ckeditor\CKEditorTrait

CKEditorInline renders a CKEditor js plugin for inline editing.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$clientOptions array The options for the CKEditor 4 JS plugin. dosamigos\ckeditor\CKEditorTrait
$disableAutoInline bool Disables creating the inline editor automatically for elements with contenteditable attribute set to the true. dosamigos\ckeditor\CKEditorInline
$options array The HTML attributes for the input tag. dosamigos\ckeditor\CKEditorInline
$preset string The toolbar preset. dosamigos\ckeditor\CKEditorTrait
$tag string dosamigos\ckeditor\CKEditorInline

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
initOptions() Initializes the widget options. dosamigos\ckeditor\CKEditorTrait
registerPlugin() Registers CKEditor plugin dosamigos\ckeditor\CKEditorInline

Property Details

$disableAutoInline public property

Disables creating the inline editor automatically for elements with contenteditable attribute set to the true. Defaults to true.

public bool $disableAutoInline true
$options public property

The HTML attributes for the input tag.

See also \yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered.

public array $options = []
$tag public property
public string $tag 'div'

Method Details

init() public method

public void init ( )
registerPlugin() protected method

Registers CKEditor plugin

protected void registerPlugin ( )
run() public method

public void run ( )