Javascript 引导标记附加按钮可以';你不能用很棒的字体吗?

Javascript 引导标记附加按钮可以';你不能用很棒的字体吗?,javascript,jquery,plugins,font-awesome,Javascript,Jquery,Plugins,Font Awesome,我使用的是Bootstrap markdown js。我正在尝试添加新的按钮,一切正常,一切正常,除了它不会显示图标,如果我使用的字体真棒 这是我的密码: $("#html_value").markdown({ iconlibrary : 'fa', additionalButtons: [ [{ name: "groupCustom",

我使用的是Bootstrap markdown js。我正在尝试添加新的按钮,一切正常,一切正常,除了它不会显示图标,如果我使用的字体真棒

这是我的密码:

$("#html_value").markdown({
            iconlibrary : 'fa',
            additionalButtons: [
                    [{
                    name: "groupCustom",
                    data: [{
                        name: "cmdBath",
                        toggle: true,
                        title: "Bath",
                        icon: "fa fa-facebook-square",
                        callback: function(e){
                            var chunk, cursor,
                                selected = e.getSelection(), 
                                content = e.getContent(),
                                chunk = "Wellness"
                                e.replaceSelection(chunk)
                                cursor = selected.start
                                e.setSelection(cursor,cursor+chunk.length)
                            }
                        }]
                    }]
                ]
        });
我找到了答案:

$("#html_value").markdown({
            iconlibrary : 'fa',
            additionalButtons: [
                    [{
                    name: "groupBath",
                    data: [{
                        name: "cmdBath",
                        toggle: true,
                        title: "Bath",
                        icon: {
                            glyph: 'glyphicon glyphicon-link',
                            fa: 'fa fa-fire',
                            'fa-3': 'icon-link',
                            octicons: 'octicon octicon-link'
                        },
                        callback: function(e){
                            var chunk, cursor,
                                selected = e.getSelection(), 
                                content = e.getContent(),
                                chunk = "Wellness"
                                e.replaceSelection(chunk)
                                cursor = selected.start
                                e.setSelection(cursor,cursor+chunk.length)
                            }
                        }]
                    }]
                ]
        });
我找到了答案:

$("#html_value").markdown({
            iconlibrary : 'fa',
            additionalButtons: [
                    [{
                    name: "groupBath",
                    data: [{
                        name: "cmdBath",
                        toggle: true,
                        title: "Bath",
                        icon: {
                            glyph: 'glyphicon glyphicon-link',
                            fa: 'fa fa-fire',
                            'fa-3': 'icon-link',
                            octicons: 'octicon octicon-link'
                        },
                        callback: function(e){
                            var chunk, cursor,
                                selected = e.getSelection(), 
                                content = e.getContent(),
                                chunk = "Wellness"
                                e.replaceSelection(chunk)
                                cursor = selected.start
                                e.setSelection(cursor,cursor+chunk.length)
                            }
                        }]
                    }]
                ]
        });