XF 2.3 BBcode block styling

Old Nick

Well-known member
I use this code in my extra.less template:
Less:
.bbCodeBlock {
    border-left: 1px solid @xf-borderColorFaint;
    border-radius: @xf-borderRadiusSmall;
}

.bbCodeBlock-title {
    background: @xf-contentAltBg;
    color: @xf-textColor;
    border-bottom: 1px solid @xf-borderColorFaint;
    padding: 10px;
}

.bbCodeBlock-content {
    padding: 10px;
    background: @xf-inputBgColor;
}

Works fine but...
When you quote a message, the original version is displayed in the text editor, and when you publish the message too. You must reload the page for the modifications of the extra.less file to be taken into account. I tried to modify the bb_code.less file but it has no impact on the block (strange actually)... I suppose it all has to do with Froala, it would be necessary to modify other files elsewhere perhaps ?

In a few weeks/months the new text editor will be introduced, will this change anything at this level?
Thanks.
 
Back
Top Bottom