bootstrap-wysihtml5
bootstrap-wysihtml5 copied to clipboard
icons not showing up
I see that you guys use <i class="icon-pencil"></i>
and that bootstrap uses <i class="glyphicon glyphicon-pencil"></i>
. Icons don't show up unless I rewrite the class manually for the element in Chrome. I don't understand why there are 2 naming conventions for what seems like the same icons in the same library.
Anyways, is there a way to fix this without overriding the entire template for each button manually in javascript? Maybe there should be a way to pass 'glyphicon' as a parameter?
hi, i don't know when this was posted, but i'm having the same problem. Is there a workround?
I just ctrl-f + replaced icon-
with glyphicon glyphicon-
in bootstrap-wysihtml5-0.0.2/bootstrap-wysihtml5-0.0.2.min.js
Had the same issue as well. Also, helps to update the 'btn' class to have 'btn btn-default' so it actually pops.
Updated: Line 8 for Dropdown, Then a find a replace for <a class='btn" to <a class='btn btn-default".
@ghost
What about btn
class, you may just add: size: 'default'
in initialization options:
$('#wiki-content').wysihtml5({
size: 'default'
});