empower-wysiwyg
v0.0.6
Published
A rich text editing component with a "what you see is what you get" functionality in creating your content from basic to advance formatting.
Downloads
19
Readme
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
Run
npm install
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
Developers
Jephunneh Viernes - [email protected]
Changelog:
- 0.0.6 - Security Fix - Fix vulnerability issues in the package