fillFromConfig([ 'fullPage', ]); } /** * {@inheritDoc} */ public function render() { $this->prepareVars(); return $this->makePartial('richeditor'); } /** * Prepares the list data */ public function prepareVars() { $this->vars['fullPage'] = $this->fullPage; $this->vars['stretch'] = $this->formField->stretch; $this->vars['size'] = $this->formField->size; $this->vars['name'] = $this->formField->getName(); $this->vars['value'] = $this->getLoadValue(); } /** * {@inheritDoc} */ public function loadAssets() { $this->addCss('css/richeditor.css', 'core'); $this->addJs('js/build-min.js', 'core'); } }