0.0.6 • Published 3 years ago
empower-wysiwyg v0.0.6
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-wysiwygRepository
Run
npm installAfter 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 - jephunneh.viernes@empowerteams.io
Changelog:
- 0.0.6 - Security Fix - Fix vulnerability issues in the package