From aab1018e2bbbf633c3e58bc129d0e21f99478f73 Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Mon, 5 Jul 2021 16:16:20 +0200 Subject: [PATCH] MOBILE-3320 rte: Try to fix wrong number of buttons displayed --- .../editor/components/rich-text-editor/rich-text-editor.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts b/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts index d6c44f5b1..7a4658217 100644 --- a/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts +++ b/src/core/features/editor/components/rich-text-editor/rich-text-editor.ts @@ -869,6 +869,8 @@ export class CoreEditorRichTextEditorComponent implements OnInit, AfterContentIn this.toolbarArrows = true; } + await CoreUtils.nextTick(); + await this.toolbarSlides.update(); await this.updateToolbarArrows();