[XenForo 1.2] Extra parameter to the new editor_setup listener

cclaerhout

Well-known member
Since Redactor is using the depreciated html tag <font>, it would be appreciated that the new listener "editor_setup" from the beta 4 of XenForo 1.2 could have an extra parameter to modify which parser to call.

Example:
PHP:
XenForo_CodeEvent::fire('editor_setup', array($view, $formCtrlName, &$message, &$editorOptions, &$showWysiwyg, &$wysiwygParser = 'Wysiwyg'));

and a few lines below:
PHP:
$bbCodeParser = XenForo_BbCode_Parser::create(XenForo_BbCode_Formatter_Base::create($wysiwygParser, array('view' => $view)));
 
Upvote 0
Back
Top Bottom