コード例 #1
0
ファイル: RedactorEditor.php プロジェクト: baardev/lbtbapp
 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);
 }
コード例 #2
0
 protected function getEditor($key, $content = null, $options = array())
 {
     // Stop converting divs to paragraphs
     $options['replaceDivs'] = false;
     return parent::getEditor($key, $content, $options);
 }