npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

materialnote

v1.2.1

Published

A fork of Summernote.js ported to Materialize

Downloads

157

Readme

MaterialNote v1.2.1

MaterialNote

LIVE DEMO: MaterialNote demo (live demo can be outdated for a while; if live demo version is not the same of current plugin version, please use the included demo instead)

A Summernote wysiwyg editor version converted for Materialize (Materialize Official website)

Added features:
  • Following toolbar
  • global restyling

MaterialNote is a fork of Summernote wysiwyg editor (See the Original API) Edited by CK

Usage

Just call **materialnote() on any jquery element;

NOTE: in case of multiple editors on the same page, the id attribute must be provided (if you use airMode, the id is needed always);

There are some extra options

that you can pass to the constructor in materialSummernote:

  • defaultTextColor (used by "color" button to set the default text color)
  • defaultBackColor (used by "color" button to set button's color default background color)
  • followingToolbar (default true)
  • otherStaticBarClass is the class of webapp's static bar (if used); this is used to avoid materialNote's toolbar to override it while scrolling (default .staticTop)

MaterialSummernote is not just a conversion of Summernote from bootstrap to materialize, it also contains some changes, but still have all the original Summernote's API.

It is provided with scss version of the stylesheet, if you use sass, to change style quickly

Materialize Overrides

The provided versione includes an override of materialize tooltips (called ckTooltip) with autoclean function for tooltips' shadow dom when the tooltipped element is destroyed (better for single-page app); this functions is also edited to have faster tooltip animations; If you don't need/want this, you can use the standard materialize tooltip function, replacing "ckTooltip" with "tooltip" in materialNote (1 occurence) and removing "ckMaterializeOverrides.js" file and its reference in index.html;

Grunt

It is provided with livereload and sass version of stylesheet; use "grunt" to execute it and point your browser on "localhost:7000" (prerequisites: ruby, sass ("gem install sass"), grunt-cli, grunt and needed plugins ("npm install"), browser livereload extension);

Use --port option to serve it on another port; example: grunt --port=9000

Use grunt uglify or grunt minify to rebuild the minified version of fileUploader.js

License

Available under MIT license (also available in included license.txt file).

History

1.2.0

  • added minified version and minify task

1.1.8

  • fidex bugs for following toolbar with otherStaticBar option
  • minor style corrections

1.1.7

  • upgraded mobile support for dropdown

1.1.0

  • improved mobile support
  • added support for webapp' static bar

1.0.6

  • bug fixes

1.0.5

  • fixed codeMirror bug (codeMirror not updating editor's content)
  • fixed Roboto missing font