textAngular plugin allows you to upload images
npm install textangular-uploadimageAfter picking a file - it injects tag with base64 right into the content. No actual file upload to a backend is required.
- Latest release
- Bower: bower install textAngular-uploadImage
- NPM: npm install textAngular-uploadImage
javascript
// Add 'textAngular-uploadImage' module to your project.
var myApp = angular.module('myApp', ['textAngular-uploadImage']);// Add 'uploadImage' to the toolbar.
myApp.config(function($provide) {
$provide.decorator('taOptions', function($delegate) {
$delegate.toolbar[1].push('uploadImage');
return $delegate;
});
});
``