diff --git a/core/templates/components/ck-editor-helpers/ck-editor-4-rte.component.ts b/core/templates/components/ck-editor-helpers/ck-editor-4-rte.component.ts index 9f3e5a73eb7e..e9bcac6576aa 100644 --- a/core/templates/components/ck-editor-helpers/ck-editor-4-rte.component.ts +++ b/core/templates/components/ck-editor-helpers/ck-editor-4-rte.component.ts @@ -386,10 +386,6 @@ export class CkEditor4RteComponent implements AfterViewInit, OnChanges, ( this.elementRef.nativeElement as HTMLElement ).setAttribute('style', 'display: block'); - // Focus on the CK editor text box. - ( - this.elementRef.nativeElement.children[0].children[1] as HTMLElement - ).focus(); // Remove the loading text. this.elementRef.nativeElement.parentElement.removeChild(loadingDiv); // Set the css and icons for each toolbar button. diff --git a/core/templates/components/forms/custom-forms-directives/audio-file-uploader.component.html b/core/templates/components/forms/custom-forms-directives/audio-file-uploader.component.html index 08f23817848a..f033c8308ecb 100644 --- a/core/templates/components/forms/custom-forms-directives/audio-file-uploader.component.html +++ b/core/templates/components/forms/custom-forms-directives/audio-file-uploader.component.html @@ -5,7 +5,7 @@ (change)="this.addAudio($event)" #fileInput> -