1.0.3 • Published 10 months ago

wyswyg v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

React WYSIWYG Editor

A simple and customizable WYSIWYG editor for React that supports basic text formatting like bold and italic.

Installation

To install the package, run the following command:

npm install wyswyg

Usage

Importing the Component

You can import the SimpleWYSIWYG component from the package as shown below:

import React from 'react';
import SimpleWYSIWYG from 'wysiwyg';

Basic Example

Here is a simple example demonstrating how to use the SimpleWYSIWYG component:

const App = () => {
  return (
    <div>
      <h1>Simple WYSIWYG Editor</h1>
      <SimpleWYSIWYG initialValue="<p>Type here and format text using bold or italic!</p>" />
    </div>
  );
};

export default App;
1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago