forked from CIT/Vmeda.Online
		
	Merge pull request #3200 from NoelDeMartin/MOBILE-3833
MOBILE-3833 Fix RTE & tabs
This commit is contained in:
		
						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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user