BB-код заливки текста
Добавляет в форму ответа теги для выбора цвета маркировочного текста.
http://sh.uploads.ru/vN6Sr.jpg

Автор: Alex_63
Платформа: MyBB
Аналоги: Фон для текста сообщений (MyBB) [kolobdur74]

В HTML низ:

Код:
    <!-- BB-код заливки текста / © Alex_63 --><style>
    #button-mark{background:url(https://forumstatic.ru/files/0015/92/70/15526.png);}
    #mark-area{width:auto;position:absolute;right:6px;top:43px}
    #mark-area *{border:0}#mark-area table{width:320px;height:20px;padding:0;margin:0}
    #mark-area td{margin:0; padding:0; line-height:0}
    #mark-area td img{width:20px;height:20px;cursor:pointer!important}
    </style>
    <script type="text/javascript">
    $('#button-color').after('<td id="button-mark"><img src="/i/blank.gif" onclick="$(\'#mark-area\').toggle();" title="Заливка"/></td>');
    $(function(){var area=$('#color-area').html();if(area)area=area.replace(/color([\=\'\]])/mgi,'mark$1');
    area='<div class="container" id="mark-area" onclick="$(this).toggle()" style="display:none">'+area+'</div>';
    $('#color-area').after(area);});
    $('.post-content:contains("[mark")').each(function(){var sp='<span style="background-color:$1">$2</span>';
    $(this).html($(this).html().replace(/\[mark=(.*?)\](.*?)\[\/mark\]/mgi,sp));});
    </script>