BoldDeskHelp desk software with unlimited agents starts at $99.
Try it for free.
How to customize ejs-imageeditor toolbar to view only crop options.
Using the toolbar property, we can customize
the toolbar item of the image editor. Please refer the below links and code
API link: https://ej2.syncfusion.com/angular/documentation/api/image-editor/#toolbar
UG link: https://ej2.syncfusion.com/angular/documentation/image-editor/toolbar/
public Toolbar = ["Crop", "CustomSelection", "CircleSelection", "SquareSelection", "RatioSelection"];
Sample link: https://stackblitz.com/edit/angular-uebquk-qtkhxd?file=app.component.ts
Thank you so mush for your response, but the image-upload icon still appearing.
Aya, the image upload option was a default
toolbar item, we can’t remove it using the toolbar property. If you want to
remove the image upload option, then use the below CSS to hide that option.
display: none !important;
Sample link: https://stackblitz.com/edit/angular-uebquk-d3g7zo?file=app.component.css