-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Open
Copy link
Labels
AI AssistantRelated to the AI Assistant in Studio.Related to the AI Assistant in Studio.
Description
What
Feature Request: Add export and copy functionality for assistant responses
I would like WordPress Studio to include export options for assistant responses, similar to other AI interfaces. Specifically:
- Export to PDF format
- Export to Markdown (.md) format
- Export to DOCX format
- A "Copy All" button to copy the entire response with proper formatting
Currently, users can only copy responses manually by selecting text, which doesn't preserve formatting well and is cumbersome for long responses.
Why
This feature would greatly improve the user experience by allowing users to:
- Save important responses for offline reference
- Share assistant responses with team members who don't have access to WordPress Studio
- Build documentation from helpful responses
- Maintain proper code formatting when copying technical responses
- Create training materials or knowledge bases from assistant interactions
How
Implementation suggestions:
- Add an export dropdown menu to each assistant response (similar to the attached mockup)
- Include format options: PDF, Markdown, DOCX
- Add a dedicated "Copy All" button that preserves formatting
- For PDF export: Include syntax highlighting for code blocks
- For Markdown: Preserve all formatting including code blocks, lists, and headers
- For DOCX: Convert markdown formatting to Word styles
Technical approach could use existing libraries like:
- jsPDF for PDF generation
- markdown-pdf or similar for conversions
- Proper clipboard API for enhanced copy functionality
Metadata
Metadata
Assignees
Labels
AI AssistantRelated to the AI Assistant in Studio.Related to the AI Assistant in Studio.