Merge pull request #15275 from calixteman/textbox
[Editor] Remove some a11y properties only useful when a FreeText editor is edited
This commit is contained in:
commit
d6d4653d80
@ -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…
Reference in New Issue
Block a user