torId);
            if (editor) {
                const content = editor.instance.getValue();
                console.log(`Content from ${editorId}:`, content);
                
                // Copy to clipboard
                navigator.clipboard.writeText(content).then(() => {
                    alert(`Content copied to clipboard! (${content.length} characters)`);
                });
            }
        }
        
        function getAllContent() {
            const allContent = editorInstances.map(