Angular 2 Voog Wysihtml
This library is wrapper for the popular Wysihtml library by Voog.
See a live example application here.
Building the library
npm install
npm run build
Running the example
cd example
npm install
npm start
Installing and usage
npm install angular2-voog-wysihtml --save-dev
Load the module for your app:
; @
Use it in your html template:
bold italic H1 P
value // The textual value (html content) for the editor. toolbar // Toolbar reference, either template reference or a DOM id.placeholder // Placeholder text for the editor, shown when the content is empty.
For more detailed documentation with all the supported options see Wysihtml by Voog documentation.