Prado\Web\UI\WebControls\THtmlArea4::getEditorOptions PHP Method

getEditorOptions() protected method

Default editor options gives basic tool bar only.
protected getEditorOptions ( ) : array
return array editor initialization options.
    protected function getEditorOptions()
    {
        $options['mode'] = 'exact';
        $options['elements'] = $this->getClientID();
        $options['language'] = $this->getLanguageSuffix($this->getCulture());
        //$options['theme'] = 'modern'; //default
        // mimic previous (tinyMCE3) sizing behaviour
        $options['width'] = $this->getWidth();
        $options['height'] = $this->getHeight();
        $options['resize'] = 'both';
        $options['menubar'] = false;
        if ($this->getReadOnly()) {
            $options['readonly'] = true;
            $options['toolbar'] = false;
            $options['menubar'] = false;
            $options['statusbar'] = false;
        }
        $options['extended_valid_elements'] = 'a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]';
        $options = array_merge($options, $this->parseEditorOptions($this->getOptions()));
        return $options;
    }