refactory-id / bootstrap-markdown

Bootstrap plugin for markdown editing
Apache License 2.0
1.99k stars 370 forks source link

Add ability to set custom icons #264

Closed ghost closed 7 years ago

ghost commented 7 years ago

The user can now set custom icon by setting the customIcons option:

$("#textarea").markdown({
  customIcons: {
    "cmdBold": "glyphicon glyphicon-envelope"
  }
}

We need this option on diaspora as we use some custom icons:

bs-md

It is currently done the ugly way, i.e.: we replace button classes after instanciation.

ghost commented 7 years ago

Ping?

toopay commented 7 years ago

Thanks @AugierLe42e !