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