Clean text popup

This commit is contained in:
Adina Țeudan 2020-10-05 23:35:49 +03:00 committed by Timo Bejan
parent e8c347251b
commit 439aa88aee

View File

@ -102,6 +102,14 @@ export class PdfViewerComponent implements OnInit, AfterViewInit, OnDestroy {
}
private _configureTextPopup() {
this.wvInstance.disableElements([
'textHighlightToolButton',
'textUnderlineToolButton',
'textSquigglyToolButton',
'textStrikeoutToolButton',
'linkButton',
]);
this.wvInstance.textPopup.add(<any>{
type: 'actionButton',
img: '/assets/icons/general/add.svg',