AlexT
Well-known member
- Affected version
- 2.0.2
XF 2 provides a code event to listen to when a BB code renderer object is created ("bb_code_renderer", fired in the $container->factory('renderer') closure). Analogously, there should be a "bb_code_processor_action" code event fired in the $container->factory('processorAction') closure. This then would allow to add custom bbcode processor actions by modifying the processorActionMap array before the processor action classes are initialized.
Edit: On a second thought I suppose one could extend XF\SubContainer\BbCode to modify $container['rendererMap']... I still think a code event would be appropriate here, but feel free to remove this "bug report" if you disagree.
Edit: On a second thought I suppose one could extend XF\SubContainer\BbCode to modify $container['rendererMap']... I still think a code event would be appropriate here, but feel free to remove this "bug report" if you disagree.
Last edited: