      alert('Need at least 2 editors to sync content');
                return;
            }
            
            const firstContent = editorInstances[0].instance.getValue();
            editorInstances.slice(1).forEach(editor => {
                editor.instance.setValue(firstContent);
            });
            
            updateStats();
            console.log('Synced content across all editors');
        }
        
        function randomizeThemes() {
            const themes = ['solar', 'cave'];