1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 07:06:30 +02:00
This commit is contained in:
Cameron
2018-07-28 13:41:44 -07:00
parent 37017652cc
commit e5af746153
4 changed files with 40 additions and 37 deletions

View File

@@ -177,7 +177,11 @@ class plugin_forum_post_shortcodes extends e_shortcode
$text = '';
}
return e107::getForm()->bbarea('post',$text,'forum');
$editor = $this->forum->prefs->get('editor');
$wysiwyg = ($editor === 'bbcode') ? false : null;
return e107::getForm()->bbarea('post',$text,'forum','_common','large', array('wysiwyg' => $wysiwyg));
}