XF 2.3 usable svgs?

Robert9

Well-known member
I cannot use all svgs from here?

\styles\fa\solid

Some work, some dont work for me.
XML:
<?xml version="1.0" encoding="utf-8"?>
<bb_codes>
    <bb_code bb_code_id="dog" bb_code_mode="replace" has_option="no" trim_lines_after="0" plain_children="0" disable_smilies="0" disable_nl2br="0" disable_autolink="0" allow_empty="0" allow_signature="1" editor_icon_type="fa" editor_icon_value="angle-right" active="1">
        <replace_html><![CDATA[]]></replace_html>
        <replace_html_email><![CDATA[]]></replace_html_email>
        <replace_text><![CDATA[]]></replace_text>
    </bb_code>
    <bb_code bb_code_id="cat" bb_code_mode="replace" has_option="no" trim_lines_after="0" plain_children="0" disable_smilies="0" disable_nl2br="0" disable_autolink="0" allow_empty="0" allow_signature="1" editor_icon_type="fa" editor_icon_value="angle-right" active="1">
        <replace_html><![CDATA[]]></replace_html>
        <replace_html_email><![CDATA[]]></replace_html_email>
        <replace_text><![CDATA[]]></replace_text>
    </bb_code>
</bb_codes>

for example
angle-right, alicorn don't work.
lamp, shop, female work


How can i do my bbCodes from above without an icon like "save_draft", please?
 
And why we dont have

'editor_icon_type' => 'fa',

here:


PHP:
        $this->db()->insert('xf_editor_dropdown', [
            'cmd' => 'xc_regex',
            'icon' => 'fa-address-book',
            'buttons' => json_encode($regexButtons),
            'display_order' => 10,
            'active' => 1
        ]);


but here

Code:
<bb_code bb_code_id="dog" bb_code_mode="replace" has_option="no" trim_lines_after="0" plain_children="0" disable_smilies="0" disable_nl2br="0" disable_autolink="0" allow_empty="0" allow_signature="1" editor_icon_type="fa" editor_icon_value="address-book" active="1">[ICODE]
 
With

editor_icon_value=""

there is still a lot of place in the editor menu where is no icon now.


With

Code:
<bb_code bb_code_id="dog" bb_code_mode="replace" has_option="no" trim_lines_after="0" plain_children="0" disable_smilies="0" disable_nl2br="0" disable_autolink="0" allow_empty="0" allow_signature="0" active="1">

There is no icon and no text in the editor menu.
 
Back
Top Bottom