       cm.foldCode(cm.getCursor());
                        }
                    }
                });

                // Set editor styles
                const cmElement = editorContainer.querySelector('.CodeMirror');
                cmElement.style.height = '500px';
                cmElement.style.border = '2px solid var(--simpsons-blue)';
                cmElement.style.borderRadius = '10px';
                cmElement.style.fontSize = '14px';
                cmElement.style.fontFamily = 'monospace';

