@progress/kendo-pdfviewer-common 0.4.0-dev.202501060813 → 0.4.0-dev.202501061033
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -471,20 +471,7 @@ export class AnnotationEditorUIManager {
|
|
|
471
471
|
if (!anchor) {
|
|
472
472
|
return;
|
|
473
473
|
}
|
|
474
|
-
// todo: disable showing a toolbar for other annotations
|
|
475
474
|
const annotationEditorMode = this.getMode();
|
|
476
|
-
if (annotationEditorMode === AnnotationEditorType.HIGHLIGHT) {
|
|
477
|
-
const editor = anchor.closest(".highlightEditor");
|
|
478
|
-
if (!editor) {
|
|
479
|
-
return;
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
if (annotationEditorMode === AnnotationEditorType.FREETEXT) {
|
|
483
|
-
const editor = anchor.closest(".freeTextEditor");
|
|
484
|
-
if (!editor) {
|
|
485
|
-
return;
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
475
|
if (annotationEditorMode !== AnnotationEditorType.HIGHLIGHT &&
|
|
489
476
|
annotationEditorMode !== AnnotationEditorType.FREETEXT) {
|
|
490
477
|
return;
|
|
@@ -471,20 +471,7 @@ export class AnnotationEditorUIManager {
|
|
|
471
471
|
if (!anchor) {
|
|
472
472
|
return;
|
|
473
473
|
}
|
|
474
|
-
// todo: disable showing a toolbar for other annotations
|
|
475
474
|
const annotationEditorMode = this.getMode();
|
|
476
|
-
if (annotationEditorMode === AnnotationEditorType.HIGHLIGHT) {
|
|
477
|
-
const editor = anchor.closest(".highlightEditor");
|
|
478
|
-
if (!editor) {
|
|
479
|
-
return;
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
|
-
if (annotationEditorMode === AnnotationEditorType.FREETEXT) {
|
|
483
|
-
const editor = anchor.closest(".freeTextEditor");
|
|
484
|
-
if (!editor) {
|
|
485
|
-
return;
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
475
|
if (annotationEditorMode !== AnnotationEditorType.HIGHLIGHT &&
|
|
489
476
|
annotationEditorMode !== AnnotationEditorType.FREETEXT) {
|
|
490
477
|
return;
|
|
@@ -474,20 +474,7 @@ class AnnotationEditorUIManager {
|
|
|
474
474
|
if (!anchor) {
|
|
475
475
|
return;
|
|
476
476
|
}
|
|
477
|
-
// todo: disable showing a toolbar for other annotations
|
|
478
477
|
const annotationEditorMode = this.getMode();
|
|
479
|
-
if (annotationEditorMode === pdf_mjs_1.AnnotationEditorType.HIGHLIGHT) {
|
|
480
|
-
const editor = anchor.closest(".highlightEditor");
|
|
481
|
-
if (!editor) {
|
|
482
|
-
return;
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
if (annotationEditorMode === pdf_mjs_1.AnnotationEditorType.FREETEXT) {
|
|
486
|
-
const editor = anchor.closest(".freeTextEditor");
|
|
487
|
-
if (!editor) {
|
|
488
|
-
return;
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
478
|
if (annotationEditorMode !== pdf_mjs_1.AnnotationEditorType.HIGHLIGHT &&
|
|
492
479
|
annotationEditorMode !== pdf_mjs_1.AnnotationEditorType.FREETEXT) {
|
|
493
480
|
return;
|
package/package.json
CHANGED