LP1947906 Remove spellcheck="false" on MARC inputs user/sleary/LP1947906-restore-marc-spellcheck
authorStephanie Leary <stephanie.leary@equinoxOLI.org>
Tue, 3 Jan 2023 17:44:40 +0000 (11:44 -0600)
committerStephanie Leary <stephanie.leary@equinoxOLI.org>
Tue, 3 Jan 2023 17:44:40 +0000 (11:44 -0600)
Removes the spellcheck="false" attributes on editable content fields in
both the rich text and flat MARC editors, to allow browser-based
spellcheckers to work as expected.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.html
Open-ILS/src/eg2/src/app/staff/share/marc-edit/flat-editor.component.html

index 0fb728b..98e4b49 100644 (file)
@@ -13,7 +13,6 @@ Track their labels here.
 <ng-container *ngIf="bigText">
   <div contenteditable
     id='{{randId}}'
-    spellcheck="false"
     class="d-inline-block text-dark text-break {{moreClasses}}"
     [ngClass]="{'auth-invalid': isAuthInvalid()}"
     [attr.tabindex]="fieldText ? -1 : '0'"
@@ -30,7 +29,6 @@ Track their labels here.
 <ng-container *ngIf="!bigText">
   <input
     id='{{randId}}'
-    spellcheck="false"
     class="text-dark rounded-0 form-control {{moreClasses}}"
     [ngClass]="{'auth-invalid': isAuthInvalid()}"
     [size]="inputSize()"
index 0ef573f..3498984 100644 (file)
@@ -3,6 +3,6 @@
   <textarea class="form-control flat-editor-content" 
     (change)="textChanged()"
     (blur)="record.absorbBreakerChanges()"
-    [(ngModel)]="record.breakerText" rows="{{rowCount()}}" spellcheck="false">
+    [(ngModel)]="record.breakerText" rows="{{rowCount()}}">
   </textarea>
 </div>