source/Application/Controller/TextEditorHandler.php
public function renderPlainTextEditor($width, $height, $objectValue, $fieldName)
    {
        if (strpos($width, '%') === false) {
            $width .= 'px';
        }
        if (strpos($height, '%') === false) {
            $height .= 'px';
        }

        $disabledTextEditor = $this->isTextEditorDisabled() ? 'disabled ' : '';

        return "<textarea ${disabledTextEditor}id='editor_{$fieldName}' name='$fieldName' style='width:{$width}; height:{$height};'>{$objectValue}</textarea>";
    }
public function renderPlainTextEditor($width, $height, $objectValue, $fieldName)
    {
        if (strpos($width, '%') === false) {
            $width .= 'px';
        }
        if (strpos($height, '%') === false) {
            $height .= 'px';
        }

        $disabledTextEditor = $this->isTextEditorDisabled() ? 'disabled ' : '';

        return "<textarea ${disabledTextEditor}id='editor_{$fieldName}' name='$fieldName' style='width:{$width}; height:{$height};'>{$objectValue}</textarea>";
    }
public function renderPlainTextEditor ( $ width , $ height , $ objectValue , $ fieldName ) { if ( strpos ( $ width , '%' ) === false ) { $ width .= 'px' ; } if ( strpos ( $ height , '%' ) === false ) { $ height .= 'px' ; } $ disabledTextEditor = $ this -> isTextEditorDisabled ( ) ? 'disabled ' : '' ; return "<textarea ${disabledTextEditor}id='editor_{$fieldName}' name='$fieldName' style='width:{$width}; height:{$height};'>{$objectValue}</textarea>" ; }
Returns simple textarea element filled with object text to edit.

@param int    $width       The editor width.
@param int    $height      The editor height.
@param object $objectValue The object value passed to editor.
@param string $fieldName   The name of object field which content is passed to editor.

@return string The Editor output.
Returns simple textarea element filled with object text to edit .