XF 2.0 bb_code.less stylesheet sometimes not being loaded

danger@

Member
Hello,

we have a custom code bbcode tag in order to make it more prominent in the editor. It's a simple html replacement like this:
<div class="bbCodeBlock bbCodeCode"><div class="type">Code:</div><pre>{text}</pre></div>


However it seems like when this tag is being used the bb_code.less stylesheet is not being loaded. How can I either:
  1. make it always load bb_code.less when our code bbtag is used, or
  2. move the original code button from the insert menu button to the main buttons in the editor?

Thank you.
 
Last edited:
Back
Top Bottom