protected function _getElementHtml(AbstractElement $element)
    {
        $element->addData([
            'wysiwyg' => true,
            'config'  => $this->wysiwygConfig->getConfig($element)
        ]);
        return parent::_getElementHtml($element);
    }
protected function _getElementHtml(AbstractElement $element)
    {
        $element->addData([
            'wysiwyg' => true,
            'config'  => $this->wysiwygConfig->getConfig($element)
        ]);
        return parent::_getElementHtml($element);
    }
protected function _getElementHtml ( AbstractElement $ element ) { $ element -> addData ( [ 'wysiwyg' => true , 'config' => $ this -> wysiwygConfig -> getConfig ( $ element ) ] ) ; return parent :: _getElementHtml ( $ element ) ; }
Enable wysiwyg editor for the element.

@param AbstractElement $element
@return string
Enable wysiwyg editor for the element .