Skip to content

Commit

Permalink
run yarn prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
reithor committed Jul 9, 2024
1 parent 9c7b4fb commit 1d3e3d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bundle/Resources/public/js/CKEditor/core/base-ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1d3e3d6

Please sign in to comment.