Class lispa\amos\core\forms\TextEditorWidget

Inheritancelispa\amos\core\forms\TextEditorWidget » dosamigos\tinymce\TinyMce

Class TextEditorWidget

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() TextEditorWidget constructor. lispa\amos\core\forms\TextEditorWidget

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
upload_url '/attachments/file/upload-files' lispa\amos\core\forms\TextEditorWidget

Property Details

$clientOptions public property
public $clientOptions = ['menubar' => false'paste_data_images' => true'theme' => 'modern''images_upload_url' => self::upload_url'convert_urls' => false'plugins' => ["advlist autolink lists link charmap print preview anchor""searchreplace visualblocks code fullscreen code""insertdatetime media table contextmenu paste textcolor image wordcount insertdatetime""placeholder"], 'toolbar' => "fullscreen | undo redo code | styleselect | bold italic strikethrough forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image media insertdatetime | removeformat"'branding' => false]
$language public property
public $language 'en'

Method Details

__construct() public method

TextEditorWidget constructor.

public void __construct ( $config = [] )
$config array
evaluateConfiguration() protected method

protected array evaluateConfiguration ( $config = [] )
$config array
return array

$config

getLanguage() protected method

protected string getLanguage ( )
registerClientScript() protected method

Add plugin placeholder Register additional script for ajax setup

protected void registerClientScript ( )