From 1d3e3d67c5f1862e0fffdb1863db681f2f5669e0 Mon Sep 17 00:00:00 2001 From: Thorsten Reiter Date: Tue, 9 Jul 2024 11:53:12 +0200 Subject: [PATCH] run yarn prettier --- .../Resources/public/js/CKEditor/core/base-ckeditor.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bundle/Resources/public/js/CKEditor/core/base-ckeditor.js b/src/bundle/Resources/public/js/CKEditor/core/base-ckeditor.js index dc2afeda..63bfe617 100644 --- a/src/bundle/Resources/public/js/CKEditor/core/base-ckeditor.js +++ b/src/bundle/Resources/public/js/CKEditor/core/base-ckeditor.js @@ -126,10 +126,10 @@ const VIEWPORT_TOP_OFFSET_DISTRACTION_FREE_MODE = 0; const section = wrapper.childNodes[0]; const { toolbar, extraPlugins = [], extraConfig = {} } = window.ibexa.richText.CKEditor; let locale; - try{ - locale = new Intl.Locale(doc.querySelector('meta[name="LanguageCode"]').content); - }catch (e){ - locale = new Intl.Locale('eng-GB'); + try { + locale = new Intl.Locale(doc.querySelector('meta[name="LanguageCode"]').content); + } catch (e) { + locale = new Intl.Locale('eng-GB'); } const blockCustomStyles = Object.entries(ibexa.richText.customStyles) .filter(([, customStyleConfig]) => !customStyleConfig.inline)