Usage
bower install angular-squire
Add the angular-squire
module dependency to your angular app.
View the source for directive example use :)
Attributes:
editor-class
- class given to the editor iframe (optional)
height
- css height for the editor (optional)
width
- css width for the editor (optional)
body
- binding that contains the initial html contents of the editor, if different from ng-model
(optional)
ng-model
- where does the html go? required
placeholder
- placeholder text (optional)