FilerobotImageEditor integration with filerobotFilerobot
npm install @filerobot/image-annotator@filerobot/image-annotatorThe image editor plugin provides different functionality for editing the image available in the widget, gives you the possibility to add watermark, text, shapes, edit image by filters, orientations...etc.
@filerobot/image-annotator``bash`
npm install --save @filerobot/image-annotator
then
`js`
import ImageAnnotator from '@filerobot/image-annotator'
...
...
...
filerobot.use(ImageAnnotator, optionsObject)
The plugin from CDN is found inside Filerobot global object Filerobot.ImageAnnotator
`js`
const ImageAnnotator = window.Filerobot.ImageAnnotator
...
...
...
filerobot.use(ImageAnnotator, optionsObject)
#### id: string (optional)
default: 'ImageAnnotator'
An unique identifier for the plugin to be indentified between the other plugins through it.
#### locale: object (optional)
default: default locales inside lib/defaultLocale.js`.
Customizing some of the translations or the language's strings and replace the default locale.
Check the rest of the options available on filerobot-image-annotator