Redactor Class Reference

Inheritance diagram for Redactor:
ZurmoWidget

Public Member Functions

 run ()
 init ()

Data Fields

const LINK_FOR_INSERT_CLASS = 'image-gallery-modal-insert'
 $scriptFile = array('redactor.min.js')
 $cssFile = array('redactor.css')
 $assetFolderName = 'redactor'
 $htmlOptions
 $content
 $css
 $buttons
 $pastePlainText = "true"
 $visual = "true"
 $paragraphy = "true"
 $cleanup = "true"
 $iframe = "true"
 $minHeight = 100
 $convertDivs = "false"
 $observeImages = "false"
 $wym = "false"
 $removeEmptyTags = "false"
 $tidyHtml = "true"
 $xhtml = "true"
 $fullpage
 $toolbarExternal
 $plugins
 $deniedTags
 $allowedTags
 $imageUpload
 $imageGetJson
 $initCallback
 $changeCallback
 $focusCallback
 $syncAfterCallback
 $syncBeforeCallback
 $textareaKeydownCallback
 $imageUploadErrorCallback
 $urlForImageGallery

Protected Member Functions

 renderRedactorParamForInit ($paramName)
 resolveSelectiveCssLoad ()
 resolveSelectiveCssLoadForIframeSetting ()
 resolveSelectivePluginScriptLoad ()
 registerPluginScriptFiles (array $plugins)
 resolvePluginScriptNames (array &$pluginNames)

Detailed Description

Definition at line 37 of file Redactor.php.


Member Function Documentation

init (  ) 

Initializes the widget. This method will publish JUI assets if necessary. It will also register jquery and JUI JavaScript files and the theme CSS file. If you override this method, make sure you call the parent implementation first.

Reimplemented from ZurmoWidget.

Definition at line 174 of file Redactor.php.


Field Documentation

$buttons
Initial value:
 "['html', '|', 'formatting', 'bold', 'italic', 'deleted', '|',
                                   'unorderedlist', 'orderedlist', 'outdent', 'indent', '|', 'table', 'link', '|',
                                   'alignleft', 'aligncenter', 'alignright', '|', 'horizontalrule']"

Definition at line 54 of file Redactor.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jul 17 07:11:06 2019