resources/js/wysiwyg/ui/defaults/toolbars.ts
Function getMainEditorFullToolbar
has 106 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function getMainEditorFullToolbar(context: EditorUiContext): EditorContainerUiElement {
const inRtlMode = context.manager.getDefaultDirection() === 'rtl';
return new EditorSimpleClassContainer('editor-toolbar-main', [