0.0.6 • Published 2 years ago

empower-wysiwyg v0.0.6

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Empower Wysiwyg

A rich text editing component with a "what you see is what you get" functionality in creating your content from basic to advance formatting.

Installation

Component

npm install empower-wysiwyg

Repository

  1. Run npm install

  2. After successful installation, run npm start

Usage

import  Wysiwyg  from  'empower-wysiwyg'

Basic Example

<Wysiwyg
   label="MESSAGE"
   apiKey="THE_API_KEY"
   onChange={(template)  =>  onChangeHandler(template)}
   maxImgSize={2}
   totalMaxImgSize={2}
   maxTemplateSize={2}
   onError={(err)  =>  getError(err)}
/>

The onChange can be bind to a function of your choice to extract the template from the component and shall be triggered upon editing the template in the editor.

Documentation

Confluence - Wysiwyg Editor

Developers

Jephunneh Viernes - jephunneh.viernes@empowerteams.io

Changelog:

  • 0.0.6 - Security Fix - Fix vulnerability issues in the package