resources/js/wysiwyg/ui/index.ts
Function buildEditorUI
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function buildEditorUI(container: HTMLElement, element: HTMLElement, scrollContainer: HTMLElement, editor: LexicalEditor, options: Record<string, any>): EditorUiContext {
const manager = new EditorUIManager();
const context: EditorUiContext = {
editor,
containerDOM: container,
Function buildEditorUI
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export function buildEditorUI(container: HTMLElement, element: HTMLElement, scrollContainer: HTMLElement, editor: LexicalEditor, options: Record<string, any>): EditorUiContext {