GithubHelp home page GithubHelp logo

lqez / summernote-fontawesome Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 7.0 10 KB

This plugin replaces icons in Summernote toolbar with FontAwesome.

License: MIT License

JavaScript 100.00%
summernote wysiwyg fontawesome

summernote-fontawesome's Introduction

Using FontAwesome in Summernote, again

This plugin replaces icons in Summernote toolbar with FontAwesome.

USAGE

  1. If you're using bower, then just type bower install summernote-fontawesome or download and copy summernote-fontawesome.js to your directory.

  2. Embed summernote-fontawesome.js into your page below summernote.js.

  3. D O N E

NOTICE

  • Summernote had used FontAwesome as default icons until its version 0.8.0. Since then, it uses own svg based font. It has much smaller size than FontAwesome. But some Summernote plugins were built on FontAwesome. So I made this for those.

  • This only affects on the toolbar of Summernote, not on popovers.

  • Be sure to embed FontAwesome manually.

AUTHOR

@lqez

LICENSE

MIT

summernote-fontawesome's People

Contributors

lqez avatar maczuga avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

summernote-fontawesome's Issues

How about extending the icons property?

summernote has a $.summernote.icons property.

it is able to extend like options.

$.extend($.sumeronte.icons ,  {
      'align': 'fa fa-align',
      'alignCenter': 'fa fa-align-center',
      'alignJustify': 'fa fa-align-justify',
      'alignLeft': 'fa fa-align-left',
      'alignRight': 'fa fa-align-right',
      'indent': 'fa fa-indent',
      'outdent': 'fa fa-outdent',
      'arrowsAlt': 'fa fa-arrows-alt',
      'bold': 'fa fa-bold',
      'caret': 'fa fa-caret',
      'circle': 'fa fa-circle',
      'close': 'fa fa fa-close',
      'code': 'fa fa-code',
      'eraser': 'fa fa-eraser',
      'font': 'fa fa-font',
      'italic': 'fa fa-italic',
      'link': 'fa fa-link',
      'magic': 'fa fa-magic',
      'menuCheck': 'fa fa-check',
      'minus': 'fa fa-minus',
      'orderedlist': 'fa fa-list-ol',
      'pencil': 'fa fa-pencil',
      'picture': 'fa fa-picture-o',
      'question': 'fa fa-question',
      'redo': 'fa fa-redo',
      'square': 'fa fa-square',
      'strikethrough': 'fa fa-strikethrough',
      'subscript': 'fa fa-subscript',
      'superscript': 'fa fa-superscript',
      'table': 'fa fa-table',
      'textHeight': 'fa fa-text-height',
      'trash': 'fa fa-trash',
      'underline': 'fa fa-underline',
      'undo': 'fa fa-undo',
      'unorderedlist': 'fa fa-list-ul',
      'video': 'fa fa-video-camera'
})

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.