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

react-material-wysiwyg

v0.2.1

Published

A Material-UI based WYSIWYG editor for React.

Downloads

6

Readme

React Material WYSIWYG Editor

A Material-UI based WYSIWYG editor for React.

  • Built using DraftJs.
  • Material UI design for the editor toolbar buttons.
  • Light & Dark themes for the editor.

Light Theme: React Material WYSIWYG Light

Dark Theme: React Material WYSIWYG Dark

The editor is customizable and I have already added some options to customize. If you'd like to have more customization ability, let me know by making a feature request.

Installation

The package is avaiable via npm - react-material-wysiwyg. To install, run the following command (You need to have node or npm or yarn installed):

// with npm
npm install react-material-wysiwyg

// with yarn
yarn add react-material-wysiwyg

Usage

After installation, you can just import the MaterialEditor component as follows:

import { MaterialEditor } from "react-material-wysiwyg";

<MaterialEditor />;

See the example (App.js) in Github repo, on how to customize the editor.

More details on how to customize, will be added soon.

Upcoming Features

0.1.0 Initial set of changes

0.2.0

  • Fixed the bug with input props.
  • Addressed the "key" issue with theme toggler.
  • Changed theme colors and styling.
  • Changed CssBaseline to ScopedCssBaseline to restrict theming to the child components.
  • Added a button style for typography due to poor alignment with dropdown selection. (Will fix the alignment in later versions)
  • Added an option to accept custom colors for the theme.
  • Added code comments wherever possible.
  • Added snapshots to this documentation.
  • Rewritten some parts of the code to simplify the package structure.

Current Version: 0.2.1

  • Changed images in documentation (The light image border isn't visible in previous ones)

0.3.0

  • Add/Remove Hyperlinks
  • Text alignment
  • Output HTML

0.4.0

  • Add/Remove Images
  • Undo/Redo
  • Change default RichUtils styling

0.5.0

  • Fix Dropdown alignment issue
  • Text & highlight color
  • Subscript and Superscript

0.6.0

  • Code refactoring & bug fixes
  • New feature requests

Help/Feature requests

  • Use the Github "Discussion" section for help.
  • Bug reports or feature/enhancement requests can be made through "Issues" section.