Class lispa\amos\core\forms\TextEditorWidget
Inheritance | lispa\amos\core\forms\TextEditorWidget » dosamigos\tinymce\TinyMce |
---|
Class TextEditorWidget
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$clientOptions | lispa\amos\core\forms\TextEditorWidget | ||
$language | lispa\amos\core\forms\TextEditorWidget |
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | TextEditorWidget constructor. | lispa\amos\core\forms\TextEditorWidget |
Protected Methods
Method | Description | Defined By |
---|---|---|
evaluateConfiguration() | lispa\amos\core\forms\TextEditorWidget | |
getLanguage() | lispa\amos\core\forms\TextEditorWidget | |
registerClientScript() | Add plugin placeholder Register additional script for ajax setup | lispa\amos\core\forms\TextEditorWidget |
Constants
Constant | Value | Description | Defined By |
---|---|---|---|
upload_url | '/attachments/file/upload-files' | lispa\amos\core\forms\TextEditorWidget |
Property Details
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]
Method Details
TextEditorWidget constructor.
public void __construct ( $config = [] ) | ||
$config | array |
protected array evaluateConfiguration ( $config = [] ) | ||
$config | array | |
return | array | $config |
---|
protected string getLanguage ( ) |
Add plugin placeholder Register additional script for ajax setup
protected void registerClientScript ( ) |