Пример #1
0
 protected function getEditor($key, $content = null, $options = array())
 {
     // Stop converting divs to paragraphs
     $options['replaceDivs'] = false;
     $options['deniedTags'] = [];
     $options['removeComments'] = false;
     $options['imageEditable'] = true;
     $options['imageResizable'] = true;
     $options['imageLink'] = true;
     $options['imagePosition'] = true;
     return parent::getEditor($key, $content, $options);
 }
 protected function getEditor($key, $content = null, $options = array())
 {
     // Stop converting divs to paragraphs
     $options['replaceDivs'] = false;
     return parent::getEditor($key, $content, $options);
 }