commit
750d979ce4
|
@ -23,6 +23,7 @@
|
|||
border-bottom: 1px solid var(--stroke);
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
flex-shrink: 0;
|
||||
|
||||
ion-row {
|
||||
width: 100%;
|
||||
|
|
|
@ -215,8 +215,12 @@ export class CoreEditorRichTextEditorComponent implements OnInit, AfterViewInit,
|
|||
return;
|
||||
}
|
||||
|
||||
this.labelObserver = new MutationObserver(() => this.ariaLabelledBy = label.getAttribute('id') ?? undefined);
|
||||
const updateArialabelledBy = () => this.ariaLabelledBy = label.getAttribute('id') ?? undefined;
|
||||
|
||||
this.labelObserver = new MutationObserver(updateArialabelledBy);
|
||||
this.labelObserver.observe(label, { attributes: true, attributeFilter: ['id'] });
|
||||
|
||||
updateArialabelledBy();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue