mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
[Editor] Remove some a11y properties only useful when a FreeText editor is edited
This commit is contained in:
parent
e88c90e898
commit
fce83f8656
1 changed files with 2 additions and 0 deletions
|
@ -226,6 +226,7 @@ class FreeTextEditor extends AnnotationEditor {
|
|||
this.parent.setEditingState(false);
|
||||
this.parent.updateToolbar(AnnotationEditorType.FREETEXT);
|
||||
super.enableEditMode();
|
||||
this.enableEditing();
|
||||
this.overlayDiv.classList.remove("enabled");
|
||||
this.editorDiv.contentEditable = true;
|
||||
this.div.draggable = false;
|
||||
|
@ -242,6 +243,7 @@ class FreeTextEditor extends AnnotationEditor {
|
|||
|
||||
this.parent.setEditingState(true);
|
||||
super.disableEditMode();
|
||||
this.disableEditing();
|
||||
this.overlayDiv.classList.add("enabled");
|
||||
this.editorDiv.contentEditable = false;
|
||||
this.div.draggable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue